Welcome! Log In Create A New Profile

Advanced

Default Welcome page

January 17, 2013 02:25AM
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.
SubjectAuthorPosted

Default Welcome page

KrysJanuary 17, 2013 02:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready