diff options
| author | RyoshiKayo <[email protected]> | 2018-02-11 23:49:11 -0500 |
|---|---|---|
| committer | RyoshiKayo <[email protected]> | 2018-02-11 23:49:11 -0500 |
| commit | 47821474a57d72e9252670881f1fe3f944e3bd25 (patch) | |
| tree | f8b7b85c2ac6aa67209150e694d90f25c435a244 /nginx.sample.conf | |
| parent | Merge pull request #69 from RyoshiKayo/master (diff) | |
| download | host.fuwn.me-47821474a57d72e9252670881f1fe3f944e3bd25.tar.xz host.fuwn.me-47821474a57d72e9252670881f1fe3f944e3bd25.zip | |
Added CloudFlare Supprt for WeebDev/lolisafe#70
Diffstat (limited to 'nginx.sample.conf')
| -rw-r--r-- | nginx.sample.conf | 3 |
1 files changed, 3 insertions, 0 deletions
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; |