Update the nginx configuration of the captive portal
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
9bd06520fb
commit
ba9e60dba8
1 changed files with 27 additions and 14 deletions
|
@ -16,25 +16,38 @@ nginx:
|
|||
redirect_tcp: {}
|
||||
|
||||
redirect_sites:
|
||||
- from: portail.adm.auro.re
|
||||
to: portail.auro.re
|
||||
- from: 10.13.0.247
|
||||
to: portail-fleming.auro.re
|
||||
norequesturi: true
|
||||
|
||||
- from: 10.128.0.247
|
||||
to: portail.auro.re
|
||||
- from: 10.23.0.247
|
||||
to: portail-.auro.re
|
||||
norequesturi: true
|
||||
|
||||
- from: 45.66.111.247
|
||||
to: portail.auro.re
|
||||
- from: 10.33.0.247
|
||||
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
|
||||
|
||||
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
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue