diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 13317d76..7f0449cc 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -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; }