fix: 과도하게 access 권한을 막는 문제 수정

- 사용자가 sam이 아닌 디렉토리를 쓸 경우에는...?
This commit is contained in:
2022-03-15 23:06:07 +09:00
parent c8fb5e120e
commit 4565620e30
+4 -4
View File
@@ -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;
}