proxies / ipa / api: close access to ui
Users don't need to use this and so restrict it to admins by ip for now. Down the road we should be able to do this much better once we can set a policy for access here. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
2d1a225422
commit
9457e0e58e
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
ProxyPassReverseCookieDomain ipa01{{env_suffix}}.iad2.fedoraproject.org id{{env_suffix}}.fedoraproject.org
|
||||
RequestHeader edit Referer ^https://id\{{env_suffix}}\.fedoraproject\.org/ https://ipa01{{env_suffix}}.iad2.fedoraproject.org/
|
||||
|
||||
<Proxy "*">
|
||||
Require ip 192.173.156.2 # kevin
|
||||
</Proxy>
|
||||
|
||||
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue