Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 4 of 4
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, b
by
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