Fix Nginx configuration for captive portal
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
bae87c809e
commit
ec2506b9cd
1 changed files with 8 additions and 12 deletions
|
@ -6,7 +6,7 @@ loc_nginx:
|
||||||
|
|
||||||
servers:
|
servers:
|
||||||
- server_name:
|
- server_name:
|
||||||
- "10.13.0.247"
|
- 10.13.0.247
|
||||||
locations:
|
locations:
|
||||||
- filter: "/"
|
- filter: "/"
|
||||||
params:
|
params:
|
||||||
|
@ -24,8 +24,7 @@ loc_nginx:
|
||||||
params:
|
params:
|
||||||
- "return 302 https://portail-fleming.auro.re/portail/"
|
- "return 302 https://portail-fleming.auro.re/portail/"
|
||||||
|
|
||||||
- ssl: auro.re
|
- server_name:
|
||||||
server_name:
|
|
||||||
- 10.23.0.247
|
- 10.23.0.247
|
||||||
locations:
|
locations:
|
||||||
- filter: "/"
|
- filter: "/"
|
||||||
|
@ -44,9 +43,8 @@ loc_nginx:
|
||||||
params:
|
params:
|
||||||
- "return 302 https://portail-pacaterie.auro.re/portail/"
|
- "return 302 https://portail-pacaterie.auro.re/portail/"
|
||||||
|
|
||||||
- ssl: auro.re
|
- server_name:
|
||||||
server_name:
|
- 10.33.0.247
|
||||||
- "10.33.0.247"
|
|
||||||
locations:
|
locations:
|
||||||
- filter: "/"
|
- filter: "/"
|
||||||
params:
|
params:
|
||||||
|
@ -64,9 +62,8 @@ loc_nginx:
|
||||||
params:
|
params:
|
||||||
- "return 302 https://portail-rives.auro.re/portail/"
|
- "return 302 https://portail-rives.auro.re/portail/"
|
||||||
|
|
||||||
- ssl: auro.re
|
- server_name:
|
||||||
server_name:
|
- 10.43.0.247
|
||||||
- "10.43.0.247"
|
|
||||||
locations:
|
locations:
|
||||||
- filter: "/"
|
- filter: "/"
|
||||||
params:
|
params:
|
||||||
|
@ -84,9 +81,8 @@ loc_nginx:
|
||||||
params:
|
params:
|
||||||
- "return 302 https://portail-edc.auro.re/portail/"
|
- "return 302 https://portail-edc.auro.re/portail/"
|
||||||
|
|
||||||
- ssl: auro.re
|
- server_name:
|
||||||
server_name:
|
- 10.53.0.247
|
||||||
- "10.53.0.247"
|
|
||||||
locations:
|
locations:
|
||||||
- filter: "/"
|
- filter: "/"
|
||||||
params:
|
params:
|
||||||
|
|
Loading…
Reference in a new issue