From ad87e36e55cc994bffeb59af949fe1524a2850f5 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Fri, 12 Feb 2021 20:45:46 +0530 Subject: [PATCH] Fix Nginx --- conf/nginx.conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f1cf538..a3dd41f 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - { alias __FINALPATH__/; # Force https if ($scheme = http) @@ -70,4 +69,10 @@ location __PATH__/ { { deny all; } - } + + #deny access to util + location ~ /util { + deny all; + } + + } \ No newline at end of file