mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
nginx: Add config for plant.humbughq.com
(imported from commit e90b8e350014b49de53bfd5640442060672e691d)
This commit is contained in:
parent
56660f30f8
commit
6d7ef69cda
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user