website

My personal website www.ortlepp.eu
git clone https://git.ortlepp.eu/website.git/
Log | Files | Refs

commit abc795f60e5fc38bc4843bced81c5271dab05c57
parent b6b7b10d0fb04af54e2bca9dbc3fafbef42f80e9
Author: Thorsten Ortlepp <post@ortlepp.eu>
Date:   Wed,  2 Feb 2022 01:19:33 +0100

Added config for webserver

Diffstat:
Astatic/.htaccess | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/static/.htaccess b/static/.htaccess @@ -0,0 +1,10 @@ +<IfModule mod_headers.c> + Header setifempty X-Content-Type-Options "nosniff" + Header setifempty X-Frame-Options "DENY" + Header setifempty X-XSS-Protection "1; mode=block" + Header setifempty Referrer-Policy "strict-origin" + Header setifempty Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; img-src 'self' osmproxy.ortlepp.eu; connect-src 'self'; form-action 'none'; base-uri 'self'; frame-ancestors 'none'" + Header setifempty Permissions-Policy "camera=(), microphone=(), geolocation=(), gyroscope=(), magnetometer=(), usb=()" +</IfModule> + +ErrorDocument 404 /404.html