1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

Added X-Frame-Options protection for nginx

This commit is contained in:
Chris Blankenship 2016-04-26 13:24:15 -07:00
parent 8548ede638
commit 935948fa2b

View File

@ -43,5 +43,8 @@ server {
ssl_certificate $SSL_CERTIFICATE; ssl_certificate $SSL_CERTIFICATE;
ssl_certificate_key $SSL_KEY; ssl_certificate_key $SSL_KEY;
# Add protection against clickjacking attacks by adding an X-Frame-Options
add_header X-Frame-Options "SAMEORIGIN";
# ADDITIONAL DIRECTIVES HERE # ADDITIONAL DIRECTIVES HERE
} }