From f55f62853162af86989a8343c6692c956f7ccbb0 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Sun, 22 May 2016 19:20:28 -0500 Subject: Add note about port needed in NGINX config --- lib/support/nginx/registry-ssl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/support') diff --git a/lib/support/nginx/registry-ssl b/lib/support/nginx/registry-ssl index af607db0121..92511e26861 100644 --- a/lib/support/nginx/registry-ssl +++ b/lib/support/nginx/registry-ssl @@ -16,6 +16,8 @@ server { } server { + # If a different port is specified in https://gitlab.com/gitlab-org/gitlab-ce/blob/8-8-stable/config/gitlab.yml.example#L182, + # it should be declared here as well listen *:443 ssl http2; server_name registry.gitlab.example.com; server_tokens off; ## Don't show the nginx version number, a security best practice -- cgit v1.2.1