mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-30 18:07:50 +01:00
Use x-real-ip header for the real-ip module
This commit is contained in:
1 parent
96f401cba6
commit
f192748bf9
2 files changed
+3
-197
No files matched your search
@@ -66,7 +66,7 @@ http {
|
||||
# NPM generated CDN ip ranges:
|
||||
include conf.d/include/ip_ranges.conf;
|
||||
# always put the following 2 lines after ip subnets:
|
||||
real_ip_header X-Forwarded-For;
|
||||
real_ip_header X-Real-IP;
|
||||
real_ip_recursive on;
|
||||
|
||||
# Files generated by NPM
|
||||
|
||||
Reference in new issue
Block a user