Redirect humbughq domains to www.zulip.com per Waseem.

(imported from commit d5b8e8f33787d2a590516219ca4043b304b80a21)
This commit is contained in:
Luke Faraone 2014-01-16 15:54:07 -05:00
parent b6a2208d84
commit 2c86c5c8ee
1 changed files with 1 additions and 13 deletions

View File

@ -29,20 +29,8 @@ server {
ssl_certificate /etc/ssl/certs/wildcard-humbughq.com.combined-chain.crt;
ssl_certificate_key /etc/ssl/private/app.humbughq.com.key;
location / {
proxy_pass https://prod;
include /etc/nginx/zulip-include/proxy;
}
return 301 https://www.zulip.com$request_uri;
location /sockjs {
proxy_pass https://prod;
include /etc/nginx/zulip-include/location-sockjs;
}
location ~ /json/get_events|/json/events|/api/v1/events {
proxy_pass https://prod;
include /etc/nginx/zulip-include/proxy_longpolling;
}
}
server {