Default Welcome page


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
not available in the document root.

The custom index.html page should shoot for every new server block. How
I have a common syntax block - maybe include a file ?

Any help is highly appreciated. Thanks in advance.

Posted at Nginx Forum:,235196,235196#msg-235196

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs