feat: allow headers to passed to gotrue for redirect_to
This commit is contained in:
parent
7c200a9991
commit
61527f723b
|
|
@ -28,10 +28,16 @@ http {
|
|||
listen 80;
|
||||
listen 443 ssl;
|
||||
|
||||
underscores_in_headers on;
|
||||
|
||||
# GoTrue
|
||||
location /gotrue/ {
|
||||
rewrite ^/gotrue(/.*)$ $1 break;
|
||||
proxy_pass http://gotrue:9999;
|
||||
|
||||
# Allow headers like redirect_to to be handed over to the gotrue
|
||||
# for correct redirecting
|
||||
proxy_pass_request_headers on;
|
||||
}
|
||||
|
||||
# WebSocket
|
||||
|
|
|
|||
Loading…
Reference in New Issue