diff --git a/conf.d/vouch.shore.co.il.conf b/conf.d/vouch.shore.co.il.conf new file mode 100644 index 0000000000000000000000000000000000000000..a826c26bfa0fe5597e5787bcb357ecce00abd846 --- /dev/null +++ b/conf.d/vouch.shore.co.il.conf @@ -0,0 +1,28 @@ +map $host $vouch { default vouch; } + +server { + listen 80; + listen [::]:80; + server_name vouch.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 vouch.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://$vouch:9090; + proxy_http_version 1.1; + include snippets/proxy-headers.conf; + } +} diff --git a/docker-compose.yml b/docker-compose.yml index 27c33ec29af37c6b9560485585c11402acc21d04..b9759f061d5e495599296d20568a371fb2b9a65a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,7 @@ services: - lam.shore.co.il - mta-sts.shore.co.il - code.shore.co.il + - vouch.shore.co.il ports: - '80:80' - '443:443'