nginx redirects should not include host and port number
Bug #1990685 reported by
Tobias McNulty
This bug report is a duplicate of:
Bug #1993618: Web UI redirection policy can invalidate HAProxy and/or TLS setup.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Medium
|
Unassigned |
Bug Description
Nginx will include the port number and host when redirecting if not told to do otherwise: https:/
If MAAS were to set `absolute_redirect off;` in each location stanza with a `return 301 ...;`, redirects would work even behind haproxy. There should be no harm to setting this for local (non-proxied) setups, and it would allow redirects to work when haproxy is set up as described in the MAAS documentation.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- nginx redirects should not include port number + nginx redirects should not include host and port number |
To post a comment you must log in.
Proposed fix