Compare commits

...

1 commit

Author SHA1 Message Date
ec2506b9cd
Fix Nginx configuration for captive portal
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-09-27 09:31:23 +02:00

View file

@ -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: