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?
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- How to force Laravel Project to use HTTPS for all routes?
- 301 redirect instead of 404 when URL is a prefix of a post or page name?
- Htaccess redirect from ‘/%postname%.html’ to ‘/%postname%’
- Redirect to post after submission with Gravity Forms? [closed]
- SSL setup: wp-login css doesn’t load over httpS
- How to modify the .htaccess to force ssl on login and admin pages
- Import WordPress Post Slug with Forward Slash
- Create a php callback/endpoint for an OAuth script
- How to migrate production WordPress to Localhost
- Check Page requested, and redirect
- WordPress on a local machine redirecting to xampp dashboard page [closed]
- Nginx config, how can I redirect primary multisite domain, but not its sub-folders, nor other domains?
- Prevent wordpress autoredirect
- Redirect Attachment Page to Attachment
- How can I stop redirecting from a search to a taxonomy archive page
- How to return a 410 code for previously published posts now set to draft?
- The / location 301-redirects to itself in a loop
- How to make wordpress page site.com/content as location for main site.com that is worked on nuxt.js+node?
- Homepage (domain) that redirects user toward two subdomains based on his/her preferred language
- WordPress redirect users from certain countries to subpage of language version
- How to handle expired assets/content when user has direct URL
- Redirect certain 404 pages to parent page