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
- Reverseproxied WordPress Docker stack keeps redirecting to old domain name
- Does WordPress automatically redirect to the URL specified in settings?
- SSL Error: unable to get local issuer certificate
- How to redirect all HTTP requests to HTTPS
- https connection using CURL from command line
- HTTPS connections over proxy servers
- PHP header(Location: …): Force URL change in address bar
- Curl command for https ( SSL )
- What does HTTP/1.1 302 mean exactly?
- nodejs – error self signed certificate in certificate chain
- Simple Java HTTPS server
- HTTPS connection Python
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- php refresh current page?
- How to use NGINX as forward proxy for any requested location?
- Could not establish secure channel for SSL/TLS with authority ‘*’
- Python requests SSL error – certificate verify failed
- Forwarding port 80 to 8080 using NGINX
- How can I force users to access my page over HTTPS instead of HTTP?
- How to force Laravel Project to use HTTPS for all routes?
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue