diff --git a/conf.d/notify.shore.co.il.conf b/conf.d/notify.shore.co.il.conf new file mode 100644 index 0000000000000000000000000000000000000000..56d8c01d6ca0c67eabe69c212e84683918b2eb18 --- /dev/null +++ b/conf.d/notify.shore.co.il.conf @@ -0,0 +1,28 @@ +map $host $notify { default notifier; } + +server { + listen 80; + listen [::]:80; + server_name notify.shore.co.il; + include snippets/robots-disallow-all.conf; + include snippets/ads-txt.conf; + include snippets/security-txt.conf; + include snippets/www-acme-challenge.conf; + include snippets/redirect-https.conf; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name notify.shore.co.il; + include snippets/robots-disallow-all.conf; + include snippets/ads-txt.conf; + include snippets/security-txt.conf; + include snippets/ssl.conf; + + location / { + proxy_pass http://$notify:8080$request_uri; + proxy_http_version 1.1; + include snippets/proxy-headers.conf; + } +}