mirror of https://github.com/zulip/zulip.git
[manual] Add additional zulip hosts to nginx config.
We'll need to do a puppet apply on prod for this to take effect. (imported from commit 764926317712ed8abebc429fb13d43c755e0f130)
This commit is contained in:
parent
438739f6cc
commit
4f8f46544c
|
@ -22,7 +22,7 @@ server {
|
|||
ssl_certificate /etc/ssl/certs/wildcard-humbughq.com.combined-chain.crt;
|
||||
ssl_certificate_key /etc/ssl/private/app.humbughq.com.key;
|
||||
|
||||
server_name zephyr.humbughq.com;
|
||||
server_name zephyr.humbughq.com zephyr.zulip.com;
|
||||
|
||||
# Avoid clickjacking attacks
|
||||
add_header X-Frame-Options DENY;
|
||||
|
@ -41,7 +41,7 @@ server {
|
|||
|
||||
# We don't actually have an SSL cert for zulip.com, but that's okay since
|
||||
# clients will never be accessing this host directly.
|
||||
server_name humbughq.com www.humbughq.com zulip.com;
|
||||
server_name humbughq.com www.humbughq.com zulip.com www.zulip.com;
|
||||
|
||||
# Avoid clickjacking attacks
|
||||
add_header X-Frame-Options DENY;
|
||||
|
@ -62,7 +62,7 @@ server {
|
|||
ssl_certificate /etc/ssl/certs/wildcard-humbughq.com.combined-chain.crt;
|
||||
ssl_certificate_key /etc/ssl/private/app.humbughq.com.key;
|
||||
|
||||
server_name api.humbughq.com;
|
||||
server_name api.humbughq.com api.zulip.com;
|
||||
|
||||
rewrite ^/(.*) /api/$1 break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue