From ce69ca3a1a1a858e84020280be87753afd5e2772 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sun, 12 May 2019 21:29:08 +0200 Subject: [PATCH] Swap FAS in prod over to openshift Signed-off-by: Patrick Uiterwijk --- playbooks/include/proxies-reverseproxy.yml | 9 --------- .../reverseproxy/templates/reversepassproxy.fas.conf | 12 ------------ 2 files changed, 21 deletions(-) delete mode 100644 roles/httpd/reverseproxy/templates/reversepassproxy.fas.conf diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index 6da85681f4..7a4a0243c5 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -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 diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.fas.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.fas.conf deleted file mode 100644 index beb69201b5..0000000000 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.fas.conf +++ /dev/null @@ -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}}