DocumentRoot /srv/web/ipfire/html
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
RewriteRule .* - [F]
Header always set X-Content-Type-Options nosniff
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'"
Options ExecCGI
AllowOverride None
Require all granted
Options SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L]
ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/
Options SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L]
Alias /updatecache/ /var/updatecache/
Options ExecCGI
AllowOverride None
Require all granted
Alias /repository/ /var/urlrepo/
Options ExecCGI
AllowOverride None
Require all granted
Alias /wpad.dat /srv/web/ipfire/html/proxy.pac