diff --git a/metaploy/naarad.metaploy.conf b/metaploy/naarad.metaploy.conf index 058bb2e..3d6f088 100644 --- a/metaploy/naarad.metaploy.conf +++ b/metaploy/naarad.metaploy.conf @@ -7,9 +7,10 @@ server { location /web { auth_request /auth; - error_page 400 401 500 = @handle_auth; + error_page 300 301 302 303 304 305 306 307 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 421 422 423 424 425 426 428 429 431 451 500 501 502 503 504 505 506 507 508 510 511 = @handle_auth; proxy_pass http://naarad; + proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } @@ -17,6 +18,7 @@ server { location /auth { internal; proxy_pass https://heimdall-api.metakgp.org/validate-jwt; + proxy_set_header Cookie $http_cookie; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;