Fix Nginx configuration for captive portal

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
ynerant 2021-09-27 09:31:23 +02:00
parent bae87c809e
commit ec2506b9cd
Signed by untrusted user: ynerant
GPG key ID: 3A75C55819C8CF85

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: