Hi, I am a newbie to NGINX. I wish to learn as to how can I make a custom default index page and be called if another index.html or index.php file is not available in the document root. The custom index.html page should shoot for every new server block. How can I have a common syntax block - maybe include a file ? Any help is highly appreciated. Thanks in advance. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235196,235196#msg-235196
on 2013-01-17 08:25
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.