I solved this by adding this to nginx.conf <--snip> } location /files { autoindex on; autoindex_exact_size off; } <--snip> And this is my server block <--snip> server { access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; } <--snip> I am not sure what effect it had, bby archer72 - Other discussion
I have a server block which displays properly, unless I set it to autoindex. This results in a 404 not found error. server block: <code> server { # listen 80; # server_name $domain_name; root /var/www/html/files; # root /var/www/html; # autoindex on; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; } </code>by archer72 - Other discussion
Hi, I am new to nginx and have search almost everywhere. The problem is that anywhere outside my network, I can access the default nginx page, but when I am on the local network, be it my arch linux laptop, or my mobile phone, the WAN ip I get a connection can't be found error.by archer72 - Other discussion
I am using nginx on a Raspberry Pi 2. I admin just my local network.by archer72 - New Member Introductions