Use x-real-ip header for the real-ip module

This commit is contained in:
Jamie Curnow committed 2020-10-19 11:40:50 +10:00
1 parent 96f401cba6
commit f192748bf9
2 files changed
+3 -197

No files matched your search

+1 -1
View File
@@ -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