8000 Configure realip · python/psf-salt@4b40666 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b40666

Browse files
committed
Configure realip
This commit adds configuration for nginx realip module for X-Forwarded-For handling.
1 parent 37743a3 commit 4b40666

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Real IP Configuration
2+
set_real_ip_from {{ pillar["psf_internal_network"] }};
3+
set_real_ip_from 127.0.0.1;
4+
real_ip_header X-Forwarded-For;

0 commit comments

Comments
 (0)
0