diff --git a/internal/suites/example/compose/nginx/portal/nginx.https.conf b/internal/suites/example/compose/nginx/portal/nginx.https.conf index e169d2005..f24da99a2 100644 --- a/internal/suites/example/compose/nginx/portal/nginx.https.conf +++ b/internal/suites/example/compose/nginx/portal/nginx.https.conf @@ -8,12 +8,17 @@ events { } http { + upstream authelia-frontend { + server authelia-frontend:3001 fail_timeout=180s; + server authelia-frontend:3000 backup; + } + server { listen 8080 ssl; server_name login.example.com; resolver 127.0.0.11 ipv6=off; - set $frontend_endpoint http://authelia-frontend:3001; + set $frontend_endpoint http://authelia-frontend; set $backend_endpoint https://authelia-backend:9091; ssl_certificate /etc/ssl/server.cert;