Swap FAS in prod over to openshift

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-05-12 21:29:08 +02:00
parent e35f24d789
commit ce69ca3a1a
2 changed files with 0 additions and 21 deletions

View file

@ -169,18 +169,9 @@
destname: fas
remotepath: /accounts
localpath: /accounts
proxyurl: http://localhost:10004
when: env == "production"
- role: httpd/reverseproxy
website: admin.fedoraproject.org
destname: fas-os
remotepath: /accounts
localpath: /accounts
balancer_name: app-os
targettype: openshift
keephost: true
when: env == "staging"
tags:
- fas

View file

@ -1,12 +0,0 @@
# pass ca requests on needed for CRL
ProxyPass /ca http://fas1/ca/
ProxyPassReverse /ca http://fas1/ca/
# fas1 is the only place for gencert right now
RewriteEngine On
RewriteRule /accounts/user/dogencert http://fas1/accounts/user/dogencert [P,L]
ProxyPassReverse /accounts/user/dogencert http://fas1/
ProxyPass {{localpath}} {{proxyurl}}{{remotepath}}
ProxyPassReverse {{localpath}} {{proxyurl}}{{remotepath}}