diff --git a/group_vars/git.yml b/group_vars/git.yml index 58ee9f2aed8ab048bbf122944745f8af6c6fa9a7..165a90a058a26a2937e85acf4fb066a6a604ab84 100644 --- a/group_vars/git.yml +++ b/group_vars/git.yml @@ -15,3 +15,22 @@ glob_gitlab: cas_name: 'cas3' cas_label: 'CAS Cr@ns' 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"