From f1a60aa6eaabc2267fa76169853747c2371643c3 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Wed, 27 Oct 2021 11:11:50 +0000 Subject: [PATCH] Remove unneeded auth_request_set --- core/nginx/conf/nginx.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }