Added X-Frame-Options protection for nginx
This commit is contained in:
parent
8548ede638
commit
935948fa2b
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue