diff options
| author | ckonstanski <ckonstanski@pippiandcarlos.com> | 2018-01-16 19:06:09 +0000 |
|---|---|---|
| committer | ckonstanski <ckonstanski@pippiandcarlos.com> | 2018-01-16 19:06:09 +0000 |
| commit | 25804923a7ad337c60319552333fe6578019411f (patch) | |
| tree | 539f9c0697ee3e8419558f259fe2dafa45093d92 /templates/registry.conf | |
| parent | 5fc01d72d249c7d2db42cc0dd51735cbde7e6bf3 (diff) | |
autocommit Tue Jan 16 19:06:09 UTC 2018
Diffstat (limited to 'templates/registry.conf')
| -rw-r--r-- | templates/registry.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/registry.conf b/templates/registry.conf index e47e032..d4a3ba2 100644 --- a/templates/registry.conf +++ b/templates/registry.conf @@ -4,12 +4,12 @@ upstream docker-registry { server { listen 443; - server_name {{ cn }}; + server_name {{ inventory_hostsname }}; # SSL ssl on; - ssl_certificate /etc/nginx/conf.d/{{ cn }}.crt; - ssl_certificate_key /etc/nginx/conf.d/{{ cn }}.key; + ssl_certificate /etc/nginx/conf.d/{{ inventory_hostsname }}.crt; + ssl_certificate_key /etc/nginx/conf.d/{{ inventory_hostsname }}.key; # disable any limits to avoid HTTP 413 for large image uploads client_max_body_size 0; |
