diff --git a/hidche/web/sam.conf b/hidche/web/sam.conf index 3cead65..2f7e84d 100644 --- a/hidche/web/sam.conf +++ b/hidche/web/sam.conf @@ -23,11 +23,11 @@ location ~ /logs/ { return 404; } -location ~ /node_modules { +location ~ ^/sam/node_modules { return 404; } -location ~ /vendor/ { +location ~ ^/sam/vendor/ { return 404; } @@ -59,10 +59,10 @@ location ~ /src { return 404; } -location ~ /[^/]+/sammo/ { +location ~ ^/sam/[^/]+/sammo/ { return 404; } -location ~ /[^/]+/data/ { +location ~ ^/sam/[^/]+/data/ { return 404; } \ No newline at end of file