ssl_cert: /etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem
ssl_key: /etc/pki/tls/private/wildcard.pixelpark.com-key.pem
rewrite_to_https: true
- proxy_set_header:
- - 'X-Forwarded-Proto "https"'
- - 'X-Forwarded-For $proxy_add_x_forwarded_for'
- - 'X-Real-IP $remote_addr'
- - 'Host $host'
- - 'X-Forwarded-Ssl on'
- proxy_cache: gitlab
- client_max_body_size: '250m'
+ client_max_body_size: '250m'#
+ use_default_location: false
error_pages:
'404': '/404.html'
'422': '/422.html'
location: '~ ^/(404|422|500|502|504)\.html$'
assets:
location: /assets
- proxy_cache: 'on'
+ proxy_cache: gitlab
proxy: http://gitlab-workhorse
+ proxy_set_header:
+ - 'X-Forwarded-Proto "https"'
+ - 'X-Forwarded-For $proxy_add_x_forwarded_for'
+ - 'X-Real-IP $remote_addr'
+ - 'Host $host'
+ - 'X-Forwarded-Ssl on'
gitlab-root:
location: /
proxy: http://gitlab-workhorse
proxy_cache: 'off'
+ proxy_set_header:
+ - 'X-Forwarded-Proto "https"'
+ - 'X-Forwarded-For $proxy_add_x_forwarded_for'
+ - 'X-Real-IP $remote_addr'
+ - 'Host $host'
+ - 'X-Forwarded-Ssl on'
gitlab-registry:
server_name:
- registry.pixelpark.com