Open RanniSch opened 10 months ago
for me works (as described in first post) for: http://localhost:8000/ and http://localhost:8000/dir_listing/ and http://localhost:8000/dir_listing/sub/
Ranja: for me the second and third URL work. The first redirects to index.html.
Semms to be working
The browser does not list the content of a directory.
Tested with: localhost:8000/www
Max: our root directory is www/ config: ... root /www; ...
thats why when you want: localhost:8000/www it want's you to give ...webserve/simplified-serv/www/www and not ...webserve/simplified-serv/www/
to list www/ you have to turn autoindex on; and no index argument for that location. location / means in browser localhost:8000/ and locally ...webserve/simplified-serv/www/ config: location / { allowed_Methods GET POST;
index index.html;
then go to localhost:8000/ in browser