Please also add the lines below in your NGINX configuration behind the proxy_pass directive:
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
We need to ensure that NGINX is setting the right headers when redirecting requests to Apache+WP. See https://serverfault.com/questions/598202/make-nginx-to-pass-hostname-of-the-upstream-when-reverseproxying for more info.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.