mirror of https://github.com/zulip/zulip.git
Add X-Frame-Options header on nagios, trac, wiki
Prevents clickjacking attacks. (imported from commit 8b3872e607d8a4e714c280a3226465fde0d5a6ed)
This commit is contained in:
parent
7c495d7232
commit
d435f29308
|
@ -11,6 +11,7 @@
|
||||||
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
||||||
|
|
||||||
Header add Strict-Transport-Security "max-age=15768000"
|
Header add Strict-Transport-Security "max-age=15768000"
|
||||||
|
Header add X-Frame-Options DENY
|
||||||
|
|
||||||
ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
|
ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
|
||||||
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
|
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
||||||
|
|
||||||
Header add Strict-Transport-Security "max-age=15768000"
|
Header add Strict-Transport-Security "max-age=15768000"
|
||||||
|
Header add X-Frame-Options DENY
|
||||||
|
|
||||||
Alias /chrome/common /home/humbug/trac/htdocs/common
|
Alias /chrome/common /home/humbug/trac/htdocs/common
|
||||||
Alias /chrome/site /home/humbug/trac/htdocs/site
|
Alias /chrome/site /home/humbug/trac/htdocs/site
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
|
||||||
|
|
||||||
Header add Strict-Transport-Security "max-age=15768000"
|
Header add Strict-Transport-Security "max-age=15768000"
|
||||||
|
Header add X-Frame-Options DENY
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
|
|
Loading…
Reference in New Issue