diff --git a/roles/nameservers/templates/db.simponic.xyz.j2 b/roles/nameservers/templates/db.simponic.xyz.j2 index d4f22e3..cf8dbd9 100644 --- a/roles/nameservers/templates/db.simponic.xyz.j2 +++ b/roles/nameservers/templates/db.simponic.xyz.j2 @@ -45,6 +45,7 @@ lab.simponic.xyz. 1 IN CNAME simponic.tplinkdns.com. simponic.xyz. 1 IN MX 10 mail.simponic.xyz. ;; TXT Records +_atproto.pressurehooker.simponic.xyz. 1 IN TXT "did=did:plc:6frn2g6bbih6s2dqqod6ahks" mail._domainkey.simponic.xyz. 1 IN TXT ( "v=DKIM1; h=sha256; k=rsa; " "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2ktysbZaewsAo1Uk+FfLvVeL9ii6ejTDxxYE1RoGTxFDulFYXdpvO+MErDq62IvaQ6E4TYTc0RULoqp3BjuVVG6IG85SmhWME9XYSrxLm1pq7yRN1s1b6pBqNC6+yiyxwSjThS7RzH3sxwBL7R8AHRuEV+2UKsvT2wOCyRXAth+lrB7t9S9niWNOB3lvDqe0/oPf9JDrKjpuO6" "lKZ3nglGzPfdJEpfLyXBP4l5UlxqWYUIrCzqHY9bNmyPepb1CJT97AD5jGGngCrnMCmllAdyOKa1ds5uoPjjGaLO8bOoBWXQuacn++hDsdyQ78Y673T2935CN/uGgrLBs9UiA0BQIDAQAB" ) ; ----- DKIM key mail for simponic.xyz 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; diff --git a/roles/webservers/files/levi/https.rainrain.xyz.servconf b/roles/webservers/files/levi/https.rainrain.xyz.servconf index 3b9dc5c..42b2535 100644 --- a/roles/webservers/files/levi/https.rainrain.xyz.servconf +++ b/roles/webservers/files/levi/https.rainrain.xyz.servconf @@ -1,8 +1,7 @@ stream { map $ssl_preread_server_name $name { hostnames; - .rainrain.xyz rainrainxyz; - default proxy; + .rainrain.xyz rainrainxyz; default proxy; } upstream rainrainxyz { @@ -15,6 +14,7 @@ stream { server { listen 443; proxy_pass $name; + proxy_protocol on; ssl_preread on; } }