proxies / ipa / ui: try and edit the referrer for new ipa
New ipa checks the referrer to avoid CSRF issues. We need to have the proxy edit requests for the right internal hostname for it to be able to work. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
5c50f89d73
commit
3996374ea0
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
ProxyPassReverseCookieDomain ipa01{{env_suffix}}.iad2.fedoraproject.org id{{env_suffix}}.fedoraproject.org
|
||||
RequestHeader edit Referer ^https://id\.fedoraproject\.org/ https://ipa01{{env_suffix}}.iad2.fedoraproject.org
|
||||
|
||||
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue