autoindex is working, a few things to iron out be we well on our way
This commit is contained in:
@@ -12,7 +12,8 @@ server {
|
||||
index index.html; # this is another comment
|
||||
# i think root requires leading /
|
||||
# root goop;
|
||||
root /www;
|
||||
# root ./www/;
|
||||
root ./www;
|
||||
# root www/test; # also works
|
||||
# root /www; # stat does not like this kind of definition
|
||||
# root /usr; # because it's looking at / aka absolute path
|
||||
@@ -21,7 +22,7 @@ server {
|
||||
|
||||
location /test {
|
||||
# root /www/test;
|
||||
index index.html;
|
||||
autoindex on;
|
||||
}
|
||||
# If not explicitly set, ConfigParser need to genererate a location block
|
||||
# like this for path "/" (based on field "root" and "index" of the server)
|
||||
|
||||
Reference in New Issue
Block a user