Changing
proxy_set_header Host $host;
to
proxy_set_header Host $http_host;
fixed the issue.
(source)
Related Posts:
- WordPress redirect loop on nginx + apache reverse proxy
- Mixed Content with SSL, wordpress behind a reverse proxy
- Why is WordPress redirecting from http to https on a local environment?
- Force HTTPS using .htaccess – stuck in redirect loop
- How to redirect url requests to https? [closed]
- 302 redirect to signup with nginx reverse proxy
- https multiple redirects
- WordPress Redirecting HTTPS Requests to HTTP
- What is the right way to redirect all traffic to HTTPS?
- ReDirect subfolder link to another sub-folder and force SSL
- WordPress CSS/Theme gone after SSL got activated
- My site doesn’t redirect from HTTP to HTTPS
- Only execute function if SSL is set up properly
- HTTPS to HTTP rewrite rules not working as expected
- 301 Redirect Loop www to non-www – Nginx + Apache2
- I get “too many redirects” problem when migrating localhost site
- Moving site from HTTP to HTTPS
- I have cloudflare flexible enabled, How to redirect to https for Nginx server
- How to force HTTP and stop SSL completey on WordPress website
- How do you redirect HTTPS to HTTP?
- WordPress redirecting connections on port 8080 to 80
- How to configure nginx to redirect requests to the uploads directory to the production server?
- Keeps on redirecting on my development copy
- WordPress behind Proxy – Mixed Content
- How to setup 301 redirects for multiple query string URLs?
- Redirect www to non-www htaccess
- 302 redirect instead of 301 after switch to HTTPS
- Redirect from https to http or from http to https? [closed]
- Redirect to https not working with .htaccess [closed]
- Menu links only using http after enabling https, unable to redirect http links
- Cant Access Website – Changed HTTP to HTTPs
- Disabling HTTPS redirection for migration
- WordPress multisite subdirectory on nginx behind reverse proxy
- some url does not redirect from http to https
- Strange redirection issues on wordpress from ssl with padlock to ssl without padlock
- https redirect (with .htaccess) redirect loop
- Redirect HTTP to HTTPS
- How do I map a subdomain in wordpress to the primary domain in a multisite setup?
- Site redirecting from http to https [closed]
- SSL and www to non-www redirection works only on homepage – WordPress
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- 301 redirection editing .htaccess doesn’t work
- I get redirected too many times only in wp-admin?
- WordPress keeps redirecting subpages without http to https homepage after switch
- https – too many redirects
- How to use https on one page only?
- Too many redirects after added SSL redirect on port 80 virtual host
- .htaccess 301 redirect conflict with plugin “WordPress Https”
- Blog has an infinite redirect loop
- Force WordPress https redirect before www redirect based on site address url
- How to fix too many redirects when enabling SSL for site?
- How does WordPress format the url on a 301 when a trailing slash is missing?
- Can’t login to WordPress admin panel after changing domain to use WordPress pages as a fallback from React
- htaccess redirect not working for wp-admin/edit in site using proxy
- Browsers Forcing Multisite to https
- Is the default value of FORCE_SSL_ADMIN documented?
- Understanding Redirects
- How to replace the links http to https
- Why https://www. SUBdomain is redirected by WP to https://MAINdomain
- WordPress site not forcing from http to https instead getting redirected too many times
- Redirect HTTP request to HTTPS request
- How to force the admin-ajax.php file to load over HTTPS?
- Local domain remap with proxy : Infinite 301 redirect, bad URL typo
- redirect_to ignoring the SSL
- Redirecting a POST to a php script
- Force SSL on a single page which is used as iFrame
- How to block direct access to files upload in edd folder
- How to move a https website back to dev and access the admin?
- WordPress HTTPS – ‘… better to use HTTP for installation …’
- How to map secure.domain.com to www.domain.com or domain.com with “WordPress MU Domain Mapping” on the primary multisite domain?
- WordPress stuck at Step 1 of setup behind nginx reverse proxy
- In Nginx, how can I rewrite all http requests to https while maintaining sub-domain?
- How to force or redirect to SSL in nginx?
- Properly setting up a “default” nginx server for https
- Nginx Redirect via Proxy, Rewrite and Preserve URL
- Remove “www” and redirect to “https” with nginx
- wordpress is auto using http: not https: as it needs to because the server is http behind a reverse proxy https, how do I stop it?
- Why Does My Website Redirect to HTTP Before HTTPS When Accessed Without a Trailing Slash?
- Site1 wordpress website redirect to other site2 in my same server
- Does WordPress automatically redirect to the URL specified in settings?
- How to redirect after login, the working way?
- htaccess redirect not working
- htaccess wildcard redirect misses some URLs
- 301 Redirect To Post ID
- 301 Redirect all page and post urls from .html to /
- Two WordPress installations: One in root and one in sub directory – no images in subdir installation [closed]
- Facebook og:image issues after https change [closed]
- A WordPress site with more than one domain name / Parked domains
- How to redirect a wrong search on my wordpress website to the error 404 page?
- Migrating to Tumblr [closed]
- How to redirect non existent pages/posts in wordpress using htaccess
- How to redirect a child page to its parent page?
- Redirect user after login to prior page through a wp_login hook
- Auto redirect to different web page
- using wp_rewrite but keep the original url in the address bar
- Some links keeps redirecting to another domain
- Redirect every link that starts with
- Rewrite rule for incoming urls
- Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox
- Regex and config for redirecting all URLs, except /wp-admin and /specificpage, to a specific page within the same domain, using the Redirection plugin