Create security-headers.conf

This commit is contained in:
Marek Miklewicz
2022-05-21 14:32:28 +02:00
committed by GitHub
parent 3375f1e427
commit 1f73332dd9
+17
View File
@@ -0,0 +1,17 @@
ProxyTimeout 1800
TraceEnable off
Header append X-FRAME-OPTIONS "SAMEORIGIN"
FileETag None
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode=block"
</IfModule>
<IfModule mod_headers.c>
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
</IfModule>
Mutex posixsem
ProtocolsHonorOrder On
Protocols h2 h2c http/1.1