diff --git a/conf/nginx/nginx.conf.jnj b/conf/nginx/nginx.conf.jnj index 36e976616..67d3374bb 100644 --- a/conf/nginx/nginx.conf.jnj +++ b/conf/nginx/nginx.conf.jnj @@ -47,7 +47,7 @@ http { server { include server-base.conf; - server_name v1.quay.io; + server_name v1-staging.quay.io; ssl_certificate ../stack/ssl.old.cert; ssl_certificate_key ../stack/ssl.old.key; @@ -81,6 +81,25 @@ http { access_log /dev/stdout lb_logs; } + server { + server_name v1.quay.io; + + ssl_certificate ../stack/ssl.old.cert; + ssl_certificate_key ../stack/ssl.old.key; + + include server-base.conf; + + listen 8443 ssl proxy_protocol; + ssl on; + + # This header must be set only for HTTPS + add_header Strict-Transport-Security "max-age=63072000; preload"; + + real_ip_header proxy_protocol; + + access_log /dev/stdout lb_logs; + } + server { include vhost-traffic-status.conf;