From 0da0ee3c92b70e9d6c917c586c87937f767cd169 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 31 Aug 2022 15:35:20 -0700 Subject: [PATCH] puppet: Remove nginx configuration for zulip.org. This is unused since commit 1806e0f45ef41e451d90ba1e079f867ec6bc3e79 (#19625). Signed-off-by: Anders Kaseorg --- .../files/nginx/sites-available/zulip-org | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 puppet/zulip_ops/files/nginx/sites-available/zulip-org diff --git a/puppet/zulip_ops/files/nginx/sites-available/zulip-org b/puppet/zulip_ops/files/nginx/sites-available/zulip-org deleted file mode 100644 index 09566aa973..0000000000 --- a/puppet/zulip_ops/files/nginx/sites-available/zulip-org +++ /dev/null @@ -1,36 +0,0 @@ -server { - listen 80; - listen [::]:80; - return 301 https://$host$request_uri; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name zulip.org; - - ssl_certificate /etc/letsencrypt/live/zulip.org/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/zulip.org/privkey.pem; - - location /dist/ { - autoindex on; - alias /home/zulip/dist/; - } - - location / { - rewrite ^/ https://zulip.com permanent; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name blog.zulip.org; - - ssl_certificate /etc/letsencrypt/live/zulip.org/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/zulip.org/privkey.pem; - - location / { - rewrite ^/(.*)$ https://blog.zulip.com/$1 permanent; - } -}