summaryrefslogtreecommitdiff
path: root/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-10-17 23:57:35 -0400
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-10-18 00:19:15 -0400
commit77f69fc2278cbc621b841a2db5eeb192245697cc (patch)
tree90afa1d8f9861791625b77d9dda56a2aef56ce57 /roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf
parentb8a9edb9740ceaebefd76b27cc17a2e07e01e8a5 (diff)
downloadoldinfra-77f69fc2278cbc621b841a2db5eeb192245697cc.tar.gz
oldinfra-77f69fc2278cbc621b841a2db5eeb192245697cc.zip
fix proto tcp failure
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;