1
vote
1answer
2k views

How do I make virtual host DirectoryIndex file appear in the url?

I have setup a virtual host which specifies a default file to load when the URL is called. The problem I have is that I need that default DirectoryIndex file to appear in the URL. So when I go to: ...
1
vote
1answer
313 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
415 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 ...