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'"
12 <Directory /srv/web/ipfire/html>
17 <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)">
18 Options SymLinksIfOwnerMatch
20 RewriteCond %{HTTPS} off
21 RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L]
23 ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/
24 <Directory /srv/web/ipfire/cgi-bin>
25 Options SymLinksIfOwnerMatch
27 RewriteCond %{HTTPS} off
28 RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L]
30 Alias /updatecache/ /var/updatecache/
31 <Directory /var/updatecache>
36 Alias /repository/ /var/urlrepo/
37 <Directory /var/urlrepo>
42 Alias /wpad.dat /srv/web/ipfire/html/proxy.pac