aboutsummaryrefslogtreecommitdiff
path: root/nginx-ssl.sample.conf
diff options
context:
space:
mode:
authorRyoshiKayo <[email protected]>2018-02-11 23:49:11 -0500
committerRyoshiKayo <[email protected]>2018-02-11 23:49:11 -0500
commit47821474a57d72e9252670881f1fe3f944e3bd25 (patch)
treef8b7b85c2ac6aa67209150e694d90f25c435a244 /nginx-ssl.sample.conf
parentMerge pull request #69 from RyoshiKayo/master (diff)
downloadhost.fuwn.me-47821474a57d72e9252670881f1fe3f944e3bd25.tar.xz
host.fuwn.me-47821474a57d72e9252670881f1fe3f944e3bd25.zip
Added CloudFlare Supprt for WeebDev/lolisafe#70
Diffstat (limited to 'nginx-ssl.sample.conf')
-rw-r--r--nginx-ssl.sample.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/nginx-ssl.sample.conf b/nginx-ssl.sample.conf
index 2172564..2e11adf 100644
--- a/nginx-ssl.sample.conf
+++ b/nginx-ssl.sample.conf
@@ -7,6 +7,9 @@ server {
listen [::]:80;
server_name lolisafe.moe;
return 301 https://$server_name$request_uri;
+
+ # Uncomment if you are running lolisafe behind CloudFlare.
+ #include /path/to/lolisafe/cloudflare-ips;
}
server {
@@ -21,6 +24,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;