Welcome! Log In Create A New Profile

Advanced

nginx default page configuration

Posted by viralpatadiya 
nginx default page configuration
July 01, 2014 03:31PM
We have nginx setup which is used as a reverse proxy connecting to an apache backend. We are using varnish between them for caching. We need to set a default landing page if only domain name is given. we don't wish to set the index page on apache, we want to do it explicitly on nginx.

We know a method where the nginx can serve the default page from the local directory. What we want to achieve is to set the default page which is present on the apache server only.

Any ideas ?

Regards,

Viral
Re: nginx default page configuration
July 01, 2014 03:56PM
Set the 'root' value to where this page lives.

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready