Update the nginx configuration of the captive portal

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
ynerant 2021-01-28 22:08:48 +01:00 committed by ynerant
parent 9bd06520fb
commit ba9e60dba8
Signed by untrusted user: ynerant
GPG key ID: 3A75C55819C8CF85

View file

@ -16,25 +16,38 @@ nginx:
redirect_tcp: {} redirect_tcp: {}
redirect_sites: redirect_sites:
- from: portail.adm.auro.re - from: 10.13.0.247
to: portail.auro.re to: portail-fleming.auro.re
norequesturi: true norequesturi: true
- from: 10.128.0.247 - from: 10.23.0.247
to: portail.auro.re to: portail-.auro.re
norequesturi: true norequesturi: true
- from: 45.66.111.247 - from: 10.33.0.247
to: portail.auro.re to: portail-rives.auro.re
norequesturi: true
- from: 10.43.0.247
to: portail-edc.auro.re
norequesturi: true
- from: 10.53.0.247
to: portail-gs.auro.re
norequesturi: true norequesturi: true
reverseproxy_sites: reverseproxy_sites:
- from: portail.auro.re - from: portail-fleming.auro.re
to: 10.128.0.20
- from: portail-pacaterie.auro.re
to: 10.128.0.20
- from: portail-rives.auro.re
to: 10.128.0.20
- from: portail-edc.auro.re
to: 10.128.0.20
- from: portail-gs.auro.re
to: 10.128.0.20 to: 10.128.0.20
custom_args:
- "allow 45.66.108.251"
- "allow 45.66.108.252"
- "allow 45.66.108.253"
- "allow 45.66.108.254"
- "allow 45.66.108.255"
- "deny all"