diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager.conf index 777da7fa1b..d2c6dea4e8 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager.conf @@ -4,5 +4,10 @@ SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 +{% if env != "staging" %} +ProxyPass "/mirrormanager/xmlrpc" "http://mm-frontend-checkin01/mirrormanager/xmlrpc" +ProxyPassReverse "/mirrormanager/xmlrpc" "http://mm-frontend-checkin01/mirrormanager/xmlrpc" +{% endif %} + ProxyPass {{localpath}} {{proxyurl}}{{remotepath}} ProxyPassReverse {{localpath}} {{proxyurl}}{{remotepath}} diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager2.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager2.conf index e2dc53db4c..c805e3de34 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager2.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager2.conf @@ -4,5 +4,10 @@ SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 +{% if env != "staging" %} +ProxyPass "/mirrormanager/xmlrpc" "http://mm-frontend-checkin01/mirrormanager/xmlrpc" +ProxyPassReverse "/mirrormanager/xmlrpc" "http://mm-frontend-checkin01/mirrormanager/xmlrpc" +{% endif %} + ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}} ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}