Serve static /dist/ content on app servers when hostname zulip.com is used

(imported from commit cc78ffafdffe5df2baf08bdd70a219dbb694337d)
This commit is contained in:
Luke Faraone 2013-07-15 11:53:50 -04:00
parent bb0a7c8fc3
commit 1f811133d1
1 changed files with 3 additions and 1 deletions

View File

@ -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;