Add X-Frame-Options header on nagios, trac, wiki

Prevents clickjacking attacks.

(imported from commit 8b3872e607d8a4e714c280a3226465fde0d5a6ed)
This commit is contained in:
Keegan McAllister 2012-11-30 21:08:26 -05:00
parent 7c495d7232
commit d435f29308
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
Header add Strict-Transport-Security "max-age=15768000"
Header add X-Frame-Options DENY
ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3

View File

@ -11,6 +11,7 @@
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
Header add Strict-Transport-Security "max-age=15768000"
Header add X-Frame-Options DENY
Alias /chrome/common /home/humbug/trac/htdocs/common
Alias /chrome/site /home/humbug/trac/htdocs/site

View File

@ -11,6 +11,7 @@
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
Header add Strict-Transport-Security "max-age=15768000"
Header add X-Frame-Options DENY
RewriteEngine On
ProxyPreserveHost On