Remove unneeded auth_request_set

master
Dimitri Huisman 3 years ago
parent a47afec4ee
commit f1a60aa6ea

@ -161,8 +161,6 @@ http {
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;
error_page 403 @webmail_login;
proxy_pass http://$webmail;
}

Loading…
Cancel
Save