From 967609bc56af3f2d473244f6f25d4579f43e40c4 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 19 May 2021 09:11:08 +0300 Subject: [PATCH] Remove proxying headers from the auth service. The headers should be set in the server that has the /validate endpoint so we can get the correct client IP. --- conf.d/auth.shore.co.il.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/conf.d/auth.shore.co.il.conf b/conf.d/auth.shore.co.il.conf index d40375a..ed683f5 100644 --- a/conf.d/auth.shore.co.il.conf +++ b/conf.d/auth.shore.co.il.conf @@ -23,7 +23,6 @@ server { location / { proxy_pass http://$auth:8080$request_uri; proxy_http_version 1.1; - include snippets/proxy-headers.conf; include snippets/allow-shore-ips.conf; } } -- GitLab