mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-11-19 21:04:30 +09:00
fix: do not forward request body to auth server
This commit is contained in:
1 file changed
+2
@@ -10,4 +10,6 @@ location /tinyauth {
|
|||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_tinyauth tinyauth;
|
set $upstream_tinyauth tinyauth;
|
||||||
proxy_pass http://$upstream_tinyauth:3000/api/auth/nginx;
|
proxy_pass http://$upstream_tinyauth:3000/api/auth/nginx;
|
||||||
|
proxy_pass_request_body off;
|
||||||
|
proxy_set_header Content-Length "";
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user