[gitlab/nginx] Add nginx configuration for Gitlab
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
6fb4783152
commit
d383ca4b8b
|
@ -15,3 +15,22 @@ glob_gitlab:
|
||||||
cas_name: 'cas3'
|
cas_name: 'cas3'
|
||||||
cas_label: 'CAS Cr@ns'
|
cas_label: 'CAS Cr@ns'
|
||||||
cas_url: 'https://cas.crans.org'
|
cas_url: 'https://cas.crans.org'
|
||||||
|
|
||||||
|
glob_nginx:
|
||||||
|
service_name: gitlab-omnibus-ssl-nginx
|
||||||
|
servers:
|
||||||
|
- server_name:
|
||||||
|
- "gitlab.crans.org"
|
||||||
|
root: "/opt/gitlab/embedded/service/gitlab-rails/public"
|
||||||
|
locations:
|
||||||
|
- filter: "/"
|
||||||
|
params:
|
||||||
|
- "include snippets/options-proxypass.conf"
|
||||||
|
- "client_max_body_size 0"
|
||||||
|
- "gzip off"
|
||||||
|
- "proxy_read_timeout 300"
|
||||||
|
- "proxy_connect_timeout 300"
|
||||||
|
- "proxy_pass http://gitlab-workhorse"
|
||||||
|
upstreams:
|
||||||
|
- name: gitlab-workhorse
|
||||||
|
server: "unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket fail_timeout=0"
|
||||||
|
|
Loading…
Reference in New Issue