diff options
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.conf | 6 |
1 files changed, 6 insertions, 0 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 5114af0..9a0c818 100644 --- a/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf +++ b/roles/webservers/files/levi/https.ntfy.simponic.hatecomputers.club.conf @@ -24,5 +24,11 @@ server { location / { proxy_pass https://ntfy.internal.simponic.xyz; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_buffering off; + proxy_set_header X-Real-IP $remote_addr; + add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always; } } |