0
votes
2answers
83 views

nginx autoindex doesn't work

I'm trying to share some of my personal media on my website, but I get a 403 Forbidden error when I try to head to it (www.example.com/media). However, when I provide the full path to a file e.g ...
0
votes
1answer
584 views

How can I password protect a directory with nginx, but not the files within the directory?

I know this can be done with Apache, however I've started using nginx and would like to know if this is possible, and if so, how I can implement it. On my web server I have the directory /mcscreens ...
0
votes
1answer
215 views

Nginx proxy pass php index problems

I am having slight issues making my indexes work with nginx serving static content and passing php to apache on a different server. Basically if I need it to try index.php on the backend apache ...
1
vote
1answer
268 views

using nginx try_files and autoindex together

I have the following server configuration: server { listen 80; server_name _; root /var/www/; location /calendars/ { autoindex on; try_files $uri.ics $uri =404; ...
1
vote
1answer
391 views

nginx - How to… DirectoryIndex to a folder

I want to set a initial page inside a folder, besides the common index.htm I want to change index.htm to /folder/file.htm Is it possible using nginx? In my Apache server all I have to do is config ...
0
votes
1answer
662 views

Get nginx to always load /webdir/page.php on directories if no index.html page

So i'v been trying out some of the config options in http://wiki.nginx.org/NginxHttpCoreModule with no luck so far. What I want is, if someone goes to '10.10.10.1/test/' that it loads the file ...