aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKayo <[email protected]>2018-04-01 23:53:26 -0700
committerGitHub <[email protected]>2018-04-01 23:53:26 -0700
commitd7c792fa8a2d96c0219b2ca8eca2a573fe66554e (patch)
tree1ff7bd5a1cd8436ce41838eb544e378652f75935
parentUpdated real-ip-from-cf (diff)
downloadhost.fuwn.me-d7c792fa8a2d96c0219b2ca8eca2a573fe66554e.tar.xz
host.fuwn.me-d7c792fa8a2d96c0219b2ca8eca2a573fe66554e.zip
Add NGINX compile warning
-rw-r--r--nginx.sample.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/nginx.sample.conf b/nginx.sample.conf
index 1b008ae..c702eb2 100644
--- a/nginx.sample.conf
+++ b/nginx.sample.conf
@@ -11,6 +11,8 @@ 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.
+ # This requires NGINX compiled from source with:
+ # --with-http_realip_module
#include /path/to/lolisafe/real-ip-from-cf;
location / {