fix: 과도하게 access 권한을 막는 문제 수정
- 사용자가 sam이 아닌 디렉토리를 쓸 경우에는...?
This commit is contained in:
+4
-4
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user