summaryrefslogtreecommitdiff
path: root/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf')
-rw-r--r--roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf b/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf
index d532ee1..8c707b4 100644
--- a/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf
+++ b/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf
@@ -1,5 +1,7 @@
server {
- listen 4443 ssl;
+ listen 4443 ssl proxy_protocol;
+ real_ip_header proxy_protocol;
+ set_real_ip_from 127.0.0.1;
allow 10.0.0.0/8;
allow 100.64.0.0/12;