From 47821474a57d72e9252670881f1fe3f944e3bd25 Mon Sep 17 00:00:00 2001 From: RyoshiKayo Date: Sun, 11 Feb 2018 23:49:11 -0500 Subject: Added CloudFlare Supprt for WeebDev/lolisafe#70 --- nginx.sample.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nginx.sample.conf') diff --git a/nginx.sample.conf b/nginx.sample.conf index 71b8855..15b3232 100644 --- a/nginx.sample.conf +++ b/nginx.sample.conf @@ -10,6 +10,9 @@ 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; + location / { add_header Access-Control-Allow-Origin *; root /path/to/your/uploads/folder; -- cgit v1.2.3