mirror of https://github.com/zulip/zulip.git
puppet: Add nginx configuration for blog.zulip.org move.
This commit is contained in:
parent
a3e265f5b8
commit
0b93e09e72
|
@ -20,3 +20,16 @@ server {
|
||||||
rewrite ^/ https://zulipchat.com permanent;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue