I really hope this is the last time we fix Location Picker, i think it's good it's pretty elegant, basically set root and location path to never have / at end and that made things easier
This commit is contained in:
@@ -26,9 +26,11 @@ server {
|
||||
|
||||
location /test {
|
||||
index index1.html subdex.html;
|
||||
root ./www/test/;
|
||||
}
|
||||
|
||||
location /test/index1.html {
|
||||
root ./www/test/;
|
||||
index index1.html subdex.html;
|
||||
}
|
||||
|
||||
@@ -38,19 +40,22 @@ server {
|
||||
|
||||
location /stylesheet/ {
|
||||
# root ./www/../;
|
||||
root ./;
|
||||
root ./styelsheet/;
|
||||
}
|
||||
|
||||
location /test/something.html {
|
||||
# allow_methods DELETE;
|
||||
root ./www/test/;
|
||||
}
|
||||
|
||||
location /test/test_deeper/ {
|
||||
# allow_methods
|
||||
autoindex on;
|
||||
root ./www/test/test_deeper/;
|
||||
}
|
||||
|
||||
location /test/test_deeper/super_deep {
|
||||
root ./www/test/test_deeper/super_deep/;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user