--- loc_nginx: service_name: captive_portal default_server: '$server_addr' default_ssl_server: '$server_addr' servers: - server_name: - "10.13.0.247" locations: - filter: "/" params: - "return 302 https://portail-fleming.auro.re/portail/" - ssl: auro.re server_name: - portail-fleming.auro.re locations: - filter: "~ /(potail|cotisations/comnpay|static|javascript|media|about|contact|logout|.*-autocomplete)" params: - "proxy_pass http://10.128.0.20" - "include /etc/nginx/snippets/options-proxypass.conf" - filter: "/" params: - "return 302 https://portail-fleming.auro.re/portail/" - ssl: auro.re server_name: - 10.23.0.247 locations: - filter: "/" params: - "return 302 https://portail-pacaterie.auro.re/portail/" - ssl: auro.re server_name: - portail-pacaterie.auro.re locations: - filter: "~ /(potail|cotisations/comnpay|static|javascript|media|about|contact|logout|.*-autocomplete)" params: - "proxy_pass http://10.128.0.20" - "include /etc/nginx/snippets/options-proxypass.conf" - filter: "/" params: - "return 302 https://portail-pacaterie.auro.re/portail/" - ssl: auro.re server_name: - "10.33.0.247" locations: - filter: "/" params: - "return 302 https://portail-rives.auro.re/portail/" - ssl: auro.re server_name: - portail-rives.auro.re locations: - filter: "~ /(potail|cotisations/comnpay|static|javascript|media|about|contact|logout|.*-autocomplete)" params: - "proxy_pass http://10.128.0.20" - "include /etc/nginx/snippets/options-proxypass.conf" - filter: "/" params: - "return 302 https://portail-rives.auro.re/portail/" - ssl: auro.re server_name: - "10.43.0.247" locations: - filter: "/" params: - "return 302 https://portail-edc.auro.re/portail/" - ssl: auro.re server_name: - portail-edc.auro.re locations: - filter: "~ /(potail|cotisations/comnpay|static|javascript|media|about|contact|logout|.*-autocomplete)" params: - "proxy_pass http://10.128.0.20" - "include /etc/nginx/snippets/options-proxypass.conf" - filter: "/" params: - "return 302 https://portail-edc.auro.re/portail/" - ssl: auro.re server_name: - "10.53.0.247" locations: - filter: "/" params: - "return 302 https://portail-gs.auro.re/portail/" - ssl: auro.re server_name: - portail-gs.auro.re locations: - filter: "~ /(potail|cotisations/comnpay|static|javascript|media|about|contact|logout|.*-autocomplete)" params: - "proxy_pass http://10.128.0.20" - "include /etc/nginx/snippets/options-proxypass.conf" - filter: "/" params: - "return 302 https://portail-gs.auro.re/portail/"