Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auth_request /auth-0;
- proxy_intercept_errors on;
- error_page 401 https://YOUR.DOMAIN.COM/?error=$status&return=$scheme://$server_name$request_uri;
- error_page 400 402 403 404 405 408 502 503 504 https://YOUR.DOMAIN.COM/?error=$status;
- error_page 500 https://YOUR.DOMAIN.COM/?error=401&return=$scheme://$server_name$request_uri;
Advertisement
Add Comment
Please, Sign In to add comment