mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
puppet: Add redirect to https to zulip.org.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
server {
|
||||
listen 80;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443;
|
||||
server_name zulip.org;
|
||||
@@ -8,11 +13,11 @@ server {
|
||||
|
||||
location /dist/ {
|
||||
autoindex on;
|
||||
alias /home/zulip/dist/;
|
||||
alias /home/zulip/dist/;
|
||||
}
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
alias /home/zulip/zulip.github.io/;
|
||||
alias /home/zulip/zulip.github.io/;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user