diff --git a/make/photon/prepare/templates/nginx/nginx.https.conf.jinja b/make/photon/prepare/templates/nginx/nginx.https.conf.jinja index 1ae2a9754..b497fb5ec 100644 --- a/make/photon/prepare/templates/nginx/nginx.https.conf.jinja +++ b/make/photon/prepare/templates/nginx/nginx.https.conf.jinja @@ -136,14 +136,15 @@ http { proxy_buffering off; proxy_request_buffering off; } - - location /service/notifications { + + location /service/notifications { return 404; } } - server { - listen 80; - #server_name harbordomain.com; - return 308 https://$host$request_uri; + + server { + listen 80; + #server_name harbordomain.com; + return 308 https://$host$request_uri; } }