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 > [email protected] > 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 [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
