Welcome! Log In Create A New Profile

Advanced

Re: Location

basti
January 11, 2019 03:24PM
On 11.01.19 20:44, petrosetta wrote:
> It works perfectly. Thanks very much. If you could bear with me a little
> though,What if I wanted to also put the prod web site behind nginx, I can't
> use more than one root location so how could that be done. The only
> difference with the name is prod is prodapp instead of devapp.
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282663,282668#msg-282668
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

Thats depend on what you wont.
you can do something like:

www.example.com -> redirect to www.example.com/stage -> (proxy) redirect
to production
www.example.com/testing -> (proxy) redirect to dev

or

www.example.com -> (proxy) redirect to production
dev.example.com -> (proxy) redirect to dev

or whatever.
An example would be better. :-)
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Location

petrosetta January 11, 2019 11:35AM

Re: Location

basti January 11, 2019 01:12PM

Re: Location

petrosetta January 11, 2019 01:51PM

Re: Location

basti January 11, 2019 02:22PM

Re: Location

petrosetta January 11, 2019 02:44PM

Re: Location

basti January 11, 2019 03:24PM

Re: Location

petrosetta January 11, 2019 04:04PM

Re: Location

basti January 12, 2019 11:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 110
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready