[gitlab] Fix reverse proxy configuration

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-02-18 22:03:24 +01:00
parent e6c4b70efd
commit 85afe1fd32
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
3 changed files with 8 additions and 1 deletions

View File

@ -33,6 +33,8 @@ loc_nginx:
loc_reverseproxy:
reverseproxy_sites:
- {from: gitlab.crans.org, to: "127.0.0.1:8000"}
- {from: gitlab.adm.crans.org, to: "127.0.0.1:8000", ssl: adm.crans.corg}
- {from: gitlab.adm.crans.org, to: "127.0.0.1:8000", ssl: adm.crans.org}
redirect_sites: []
static_sites: []

3
hosts
View File

@ -125,6 +125,9 @@ radius
hodaur.adm.crans.org
sputnik.adm.crans.org
[reverseproxy:children]
git
[roundcube]
roundcube.adm.crans.org

View File

@ -11,6 +11,8 @@
vars:
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
gitlab: '{{ glob_gitlab | default({}) | combine(loc_gitlab | default({}), recursive=True) }}'
nginx: '{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}'
reverseproxy: '{{ glob_reverseproxy | default({}) | combine(loc_reverseproxy | default({})) }}'
roles:
- certbot
- gitlab