nginx: Add config for plant.humbughq.com

(imported from commit e90b8e350014b49de53bfd5640442060672e691d)
This commit is contained in:
Keegan McAllister 2013-01-11 17:39:19 -05:00
parent 56660f30f8
commit 6d7ef69cda
3 changed files with 6 additions and 3 deletions

View File

@ -4,9 +4,6 @@ error_log /var/log/nginx/humbug.error.log;
# Enable HSTS: tell browsers to always use HTTPS
add_header Strict-Transport-Security max-age=15768000;
# Avoid clickjacking attacks
add_header X-Frame-Options DENY;
# Serve a custom error page when the app is down
error_page 502 503 504 /static/public/html/5xx.html;

View File

@ -26,5 +26,8 @@ server {
server_name humbughq.com zephyr.humbughq.com;
# Avoid clickjacking attacks
add_header X-Frame-Options DENY;
include /etc/nginx/humbug-include/app;
}

View File

@ -13,5 +13,8 @@ server {
server_name staging.humbughq.com;
# Avoid clickjacking attacks
add_header X-Frame-Options DENY;
include /etc/nginx/humbug-include/app;
}