mirror of https://github.com/zulip/zulip.git
Redirect humbughq domains to www.zulip.com per Waseem.
(imported from commit d5b8e8f33787d2a590516219ca4043b304b80a21)
This commit is contained in:
parent
b6a2208d84
commit
2c86c5c8ee
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue