Adding section for cherokee webserver
[ach-master.git] / src / configuration / Webservers / Cherokee / cherokee.conf
1 config!version = 001002104
2 server!bind!1!port = 80
3 server!bind!2!port = 443
4 server!bind!2!tls = 1
5 server!ipv6 = 1
6 server!keepalive = 1
7 server!keepalive_max_requests = 500
8 server!panic_action = /usr/bin/cherokee-panic
9 server!pid_file = /var/run/cherokee.pid
10 server!server_tokens = full
11 server!timeout = 15
12 server!tls = libssl
13 vserver!1!directory_index = index.html
14 vserver!1!document_root = /var/www
15 vserver!1!error_writer!filename = /var/log/cherokee.error
16 vserver!1!error_writer!type = file
17 vserver!1!hsts = 1
18 vserver!1!hsts!max_age = 15768000
19 vserver!1!hsts!subdomains = 1
20 vserver!1!logger = combined
21 vserver!1!logger!access!buffsize = 16384
22 vserver!1!logger!access!filename = /var/log/cherokee.access
23 vserver!1!logger!access!type = file
24 vserver!1!nick = default
25 vserver!1!rule!5!encoder!gzip = allow
26 vserver!1!rule!5!handler = redir
27 vserver!1!rule!5!handler!rewrite!10!regex = /(.*)$
28 vserver!1!rule!5!handler!rewrite!10!show = 1
29 vserver!1!rule!5!handler!rewrite!10!substring = https://${host}/$1
30 vserver!1!rule!5!handler!type = just_about
31 vserver!1!rule!5!match = not
32 vserver!1!rule!5!match!right = tls
33 vserver!1!rule!5!match!right!directory = /about
34 vserver!1!rule!5!encoder!gzip = allow
35 vserver!1!rule!5!handler = server_info
36 vserver!1!rule!5!handler!type = just_about
37 vserver!1!rule!5!match = directory
38 vserver!1!rule!5!match!directory = /about
39 vserver!1!rule!4!document_root = /usr/lib/cgi-bin
40 vserver!1!rule!4!handler = cgi
41 vserver!1!rule!4!match = directory
42 vserver!1!rule!4!match!directory = /cgi-bin
43 vserver!1!rule!3!document_root = /usr/share/cherokee/themes
44 vserver!1!rule!3!handler = file
45 vserver!1!rule!3!match = directory
46 vserver!1!rule!3!match!directory = /cherokee_themes
47 vserver!1!rule!2!handler = file
48 vserver!1!rule!2!match = directory
49 vserver!1!rule!1!handler = common
50 vserver!1!rule!1!handler!iocache = 1
51 vserver!1!rule!1!match = default
52 vserver!1!ssl_certificate_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
53 vserver!1!ssl_certificate_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
54 vserver!1!ssl_cipher_server_preference = 1
55 vserver!1!ssl_ciphers = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA
56 vserver!1!ssl_compression = 0
57 vserver!1!ssl_dh_length = 2048
58