From 535f12b70a9ba499497425627816c3fad848022d Mon Sep 17 00:00:00 2001 From: Kayo Date: Sun, 1 Apr 2018 23:52:09 -0700 Subject: [PATCH] Updated real-ip-from-cf --- nginx.sample.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.sample.conf b/nginx.sample.conf index 15b3232..1b008ae 100644 --- a/nginx.sample.conf +++ b/nginx.sample.conf @@ -11,7 +11,7 @@ server { client_max_body_size 100M; # Change this to the max file size you want to allow # Uncomment if you are running lolisafe behind CloudFlare. - #include /path/to/lolisafe/cloudflare-ips; + #include /path/to/lolisafe/real-ip-from-cf; location / { add_header Access-Control-Allow-Origin *;