summaryrefslogtreecommitdiff
path: root/lib/support
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-05-22 19:20:28 -0500
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-05-22 19:20:28 -0500
commitf55f62853162af86989a8343c6692c956f7ccbb0 (patch)
treee3cad70716adab7bac9267b89d154d4878a14255 /lib/support
parentb565cfa50fa53bede268904d318547e593931f0b (diff)
downloadgitlab-ce-f55f62853162af86989a8343c6692c956f7ccbb0.tar.gz
Add note about port needed in NGINX config
Diffstat (limited to 'lib/support')
-rw-r--r--lib/support/nginx/registry-ssl2
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