puppet: Add nginx configuration for blog.zulip.org move.

This commit is contained in:
Tim Abbott 2020-05-26 14:46:51 -07:00
parent a3e265f5b8
commit 0b93e09e72
1 changed files with 13 additions and 0 deletions

View File

@ -20,3 +20,16 @@ server {
rewrite ^/ https://zulipchat.com permanent;
}
}
server {
listen 443 http2;
server_name blog.zulip.org;
ssl on;
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;
}
}