Add NGINX reverse proxy role

This commit is contained in:
Alexandre Iooss 2019-01-06 11:36:41 +01:00
parent c134d65b5c
commit 221dc968a3
4 changed files with 20 additions and 0 deletions

3
.gitmodules vendored
View file

@ -13,3 +13,6 @@
[submodule "roles/etherpad"] [submodule "roles/etherpad"]
path = roles/etherpad path = roles/etherpad
url = git@gitlab.federez.net:erdnaxe/ansible-role-etherpad.git url = git@gitlab.federez.net:erdnaxe/ansible-role-etherpad.git
[submodule "roles/nginx-reverse-proxy"]
path = roles/nginx-reverse-proxy
url = git@gitlab.federez.net:erdnaxe/ansible-role-nginx-reverse-proxy.git

View file

@ -21,3 +21,13 @@ ssh_pub_keys: "{{ vault_ssh_pub_keys }}"
# Monitoring # Monitoring
monitoring_mail: 'monitoring.aurore@lists.crans.org' monitoring_mail: 'monitoring.aurore@lists.crans.org'
# Nginx Proxy
reversed_proxy_subdomains:
- re2o: 10.128.0.10
- intranet: 10.128.0.10
- pad: 10.128.0.52
- phabricator: 10.128.0.50
- wiki: 10.128.0.51
- www: 10.128.0.52
- re2o-test: 10.128.0.100

6
nginx-reverse-proxy.yml Normal file
View file

@ -0,0 +1,6 @@
---
# Install NGINX with reverse proxy conf
- hosts: proxy.adm.auro.re
roles:
- nginx-reverse-proxy

@ -0,0 +1 @@
Subproject commit 88b16a7887572446de8b6362f3bb9a86094aa1d3