A Much better way of picking locations
This commit is contained in:
@@ -36,8 +36,7 @@ server {
|
||||
redirect 301 https://berniesanders.com/404/;
|
||||
}
|
||||
|
||||
# /stylesheet/ alone doesn't work, i mean we don't have wildcards...
|
||||
location /stylesheet/style.css {
|
||||
location /stylesheet/ {
|
||||
# root ./www/../;
|
||||
root ./;
|
||||
}
|
||||
@@ -46,9 +45,6 @@ server {
|
||||
# allow_methods DELETE;
|
||||
}
|
||||
|
||||
# location /something/long/here {
|
||||
# }
|
||||
|
||||
location /test/test_deeper/ {
|
||||
# allow_methods
|
||||
autoindex on;
|
||||
@@ -63,10 +59,4 @@ server {
|
||||
# }
|
||||
|
||||
|
||||
# ok in theory if one were to go to /test they would get the index in www
|
||||
# as opposed to the one in /website...
|
||||
# location /test {
|
||||
# root /www;
|
||||
# }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user