ansible-ffibk/roles/ffmwu-build/templates/ffmwu-default-https.conf.j2
Tobias Hachmer 6127353ae7 Update ansible role ffmwu-build
* use ecdsautils from ffmwu debian repo instead of building from source
 * remove some trailing white spaces
 * use command module instead of shell module where it is possible
 * update module syntax to list form for better reading
 * role ffmwu-build should be idempotent now
2016-11-26 14:17:14 +01:00

36 lines
1 KiB
Django/Jinja

<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@freifunk-mwu.de
ServerName {{ inventory_hostname }}
DocumentRoot /var/www/html
<Directory /var/www/html>
Options +Indexes +FollowSymlinks
IndexOptions FancyIndexing +FoldersFirst +HTMLTable +NameWidth=*
AllowOverride None
Order allow,deny
allow from all
</Directory>
SSLEngine on
SSLCertificateFile /etc/webcerts/{{ inventory_hostname }}/cert.pem
SSLCertificateKeyFile /etc/webcerts/{{ inventory_hostname }}/privkey.pem
SSLCertificateChainFile /etc/webcerts/{{ inventory_hostname }}/fullchain.pem
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet