diff options
| author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-06-30 15:27:36 +0000 |
|---|---|---|
| committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-06-30 15:27:36 +0000 |
| commit | 9829ff73580c34258f9f59e9ed717514425565db (patch) | |
| tree | 6537302307b54abf238b07bb06afa82e16f83a61 /roles/httpd/reverseproxy/templates | |
| parent | e0231b509037c2ea505bb44e173fe017092fe08b (diff) | |
| download | ansible-9829ff73580c34258f9f59e9ed717514425565db.tar.gz ansible-9829ff73580c34258f9f59e9ed717514425565db.tar.xz ansible-9829ff73580c34258f9f59e9ed717514425565db.zip | |
We want to modify the staging part
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/httpd/reverseproxy/templates')
| -rw-r--r-- | roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf index 4bdd1b2de..40e44d6cb 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf @@ -16,10 +16,11 @@ RewriteRule ^/v2/(.*)/blobs/([a-zA-Z0-9:]*) https://cdn.registry.fedoraproject.o RewriteCond %{REQUEST_METHOD} ^(PATCH|POST|PUT|DELETE)$ {% if env == "staging" %} RewriteRule ^/(.*)$ http://docker-registry01:5000/$1 [P,L] +RewriteRule ^/(.*)$ http://localhost:6081/$1 [P,L] {% else %} RewriteRule ^/(.*)$ http://localhost:10048/$1 [P,L] -{% endif %} RewriteRule ^/(.*)$ http://localhost:6081/$1 [P,L] +{% endif %} SSLVerifyClient optional SSLVerifyDepth 1 |
