# will be started on :80 port external_url "http://gitlab.example.com" external_port "8888" # will be started on :443 port # by default certificate file same as hostname is required: # /etc/gitlab/ssl/gitlab.example.com.key # /etc/gitlab/ssl/gitlab.example.com.crt external_url "https://gitlab.example.com" # redirect http to https nginx['redirect_http_to_https'] = true external_url "https://gitlab.example.com:2443" nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.crt" nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.key" git_data_dir "/mnt/nas/git-data"