mirror of https://github.com/zulip/zulip.git
puppet: Remove nginx configuration for zulip.org.
This is unused since commit 1806e0f45e
(#19625).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
5a7aa8228a
commit
0da0ee3c92
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue