mirror of https://github.com/zulip/zulip.git
Serve static /dist/ content on app servers when hostname zulip.com is used
(imported from commit cc78ffafdffe5df2baf08bdd70a219dbb694337d)
This commit is contained in:
parent
bb0a7c8fc3
commit
1f811133d1
|
@ -39,7 +39,9 @@ server {
|
|||
ssl_certificate /etc/ssl/certs/wildcard-humbughq.com.combined-chain.crt;
|
||||
ssl_certificate_key /etc/ssl/private/app.humbughq.com.key;
|
||||
|
||||
server_name humbughq.com www.humbughq.com;
|
||||
# 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;
|
||||
|
||||
# Avoid clickjacking attacks
|
||||
add_header X-Frame-Options DENY;
|
||||
|
|
Loading…
Reference in New Issue