diff options
-rw-r--r-- | lib/support/nginx/registry-ssl | 2 |
1 files changed, 2 insertions, 0 deletions
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 |