]> git.ipfire.org Git - ipfire-2.x.git/blob - config/httpd/vhosts.d/ipfire-interface-ssl.conf
web-user-interface: Removed 'dial.cgi' from lfs-file
[ipfire-2.x.git] / config / httpd / vhosts.d / ipfire-interface-ssl.conf
1 <VirtualHost *:444>
2
3 RewriteEngine on
4 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
5 RewriteRule .* - [F]
6 DocumentRoot /srv/web/ipfire/html
7 ServerAdmin root@localhost
8 ErrorLog /var/log/httpd/error_log
9 TransferLog /var/log/httpd/access_log
10 SSLEngine on
11 SSLProtocol all -SSLv2 -SSLv3
12 SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:HIGH:!RC4:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK
13 SSLHonorCipherOrder on
14 SSLCertificateFile /etc/httpd/server.crt
15 SSLCertificateKeyFile /etc/httpd/server.key
16
17 <Directory /srv/web/ipfire/html>
18 Options ExecCGI
19 AllowOverride None
20 Require all granted
21 </Directory>
22 <DirectoryMatch "/srv/web/ipfire/html/(graphs|sgraph)">
23 AuthName "IPFire - Restricted"
24 AuthType Basic
25 AuthUserFile /var/ipfire/auth/users
26 Require user admin
27 </DirectoryMatch>
28 ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/
29 <Directory /srv/web/ipfire/cgi-bin>
30 AllowOverride None
31 Options ExecCGI
32 AuthName "IPFire - Restricted"
33 AuthType Basic
34 AuthUserFile /var/ipfire/auth/users
35 Require user admin
36 <Files chpasswd.cgi>
37 Require all granted
38 </Files>
39 <Files webaccess.cgi>
40 Require all granted
41 </Files>
42 </Directory>
43 <Files ~ "\.(cgi|shtml?)$">
44 SSLOptions +StdEnvVars
45 </Files>
46 <Directory /srv/web/ipfire/cgi-bin>
47 SSLOptions +StdEnvVars
48 </Directory>
49 SetEnv HOME /home/nobody
50 SetEnvIf User-Agent ".*MSIE.*" \
51 nokeepalive ssl-unclean-shutdown \
52 downgrade-1.0 force-response-1.0
53 CustomLog /var/log/httpd/ssl_request_log \
54 "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
55
56 Alias /updatecache/ /var/updatecache/
57 <Directory /var/updatecache>
58 Options ExecCGI
59 AllowOverride None
60 Require all granted
61 </Directory>
62
63 Alias /repository/ /var/urlrepo/
64 <Directory /var/urlrepo>
65 Options ExecCGI
66 AllowOverride None
67 Require all granted
68 </Directory>
69
70 Alias /proxy-reports/ /var/log/sarg/
71 <Directory /var/log/sarg>
72 AllowOverride None
73 Options None
74 AuthName "IPFire - Restricted"
75 AuthType Basic
76 AuthUserFile /var/ipfire/auth/users
77 Require user admin
78 </Directory>
79 </VirtualHost>