mirror of
https://github.com/outbackdingo/Mailu.git
synced 2026-02-06 09:26:31 +00:00
Remove unneeded auth_request_set
This commit is contained in:
@@ -160,9 +160,7 @@ http {
|
||||
{% endif %}
|
||||
include /etc/nginx/proxy.conf;
|
||||
client_max_body_size {{ MESSAGE_SIZE_LIMIT|int + 8388608 }};
|
||||
auth_request /internal/auth/user;
|
||||
auth_request_set $user $upstream_http_x_user;
|
||||
auth_request_set $token $upstream_http_x_user_token;
|
||||
auth_request /internal/auth/user;
|
||||
error_page 403 @webmail_login;
|
||||
proxy_pass http://$webmail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user