Skip to content

Commit

Permalink
Merge pull request #1778 from govuk-one-login/AUT-1723/fix-nginx-conf…
Browse files Browse the repository at this point in the history
…ig-order

AUT-1723: Fix the order of the realip config
  • Loading branch information
whi-tw authored Jul 8, 2024
2 parents bd43cab + bd52034 commit 566d2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic-auth-sidecar/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ server {

satisfy any;

include /etc/nginx/trusted-proxies.conf;
real_ip_header X-Forwarded-For;
real_ip_recursive on;
include /etc/nginx/trusted-proxies.conf;

include /etc/nginx/allow-list.conf;
deny all;
Expand Down

0 comments on commit 566d2b9

Please sign in to comment.