3 DocumentRoot /srv/web/ipfire/html
6 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
9 Header always set X-Content-Type-Options nosniff
10 Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src: 'self' data:"
11 Header always set Referrer-Policy strict-origin
12 Header always set X-Frame-Options sameorigin
14 <Directory /srv/web/ipfire/html>
19 <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)">
20 Options SymLinksIfOwnerMatch
22 RewriteCond %{HTTPS} off
23 RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L]
25 ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/
26 <Directory /srv/web/ipfire/cgi-bin>
27 Options SymLinksIfOwnerMatch
29 RewriteCond %{HTTPS} off
30 RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L]
32 Alias /updatecache/ /var/updatecache/
33 <Directory /var/updatecache>
38 Alias /repository/ /var/urlrepo/
39 <Directory /var/urlrepo>
44 Alias /wpad.dat /srv/web/ipfire/html/proxy.pac