This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm not sure what is happening, but I have the following setup:
- 2 Servers - An App Server and an Nginx Proxy Server
- App Server has 2 distinct wordpress apps running on httpd.
- Proxy server redirects traffic to both apps.
For the app server, lets call the apps 'app1' and 'site2' to distinguish the applications.
- App1 runs on 443
- Site2 runs on 7443
I have an nginx proxy config (under the conf.d directory) located here - https://pastebin.com/VAQ1fFrV - and each site is split up for easy reading.
What I cant understand is this:
Whenever I try to go to the nginx proxy address for site 2 (site2.serverhostname.com) it always, without fail, redirects me to app1.serverhostname.com.
I've never run into this before setting up similar proxies and sites. So I'm unsure why this is now happening. I am at a loss as to why nginx is behaving in this way.
If it helps, in my pastebin I've included the nginx config and the apache httpd config. Hope to hear soon.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/nginx/comme...