Opened 6 years ago
Last modified 6 years ago
#50065 new defect (bug)
Load balancers forwarding host header with port and redirect loop
| Reported by: | priyanr | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Canonical | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
When running wordpress behind oracle cloud load balancer (ssl terminated there) redirection loop happens. After debugging its found oracle load balancer is appending port in host header.
eg for https://testwp.mydomain.com
request host header from load balancer is : https://testwp.mydomain.com:443
this causes redirect loop. Debugged issue to wp-includes/canonical.php
Fixed by adding $_SERVER['HTTP_HOST']= 'testwp.mydomain.com' in wp-config
Please find the attached screen shots
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)