apache: Initial version of module
This commit is contained in:
parent
677db41af0
commit
480822619d
5 changed files with 134 additions and 0 deletions
15
roles/apache/templates/site.conf.j2
Normal file
15
roles/apache/templates/site.conf.j2
Normal file
|
@ -0,0 +1,15 @@
|
|||
<VirtualHost *:443>
|
||||
ServerName {{ inventory_hostname }}
|
||||
DocumentRoot /srv/web/{{ inventory_hostname }}
|
||||
|
||||
Protocols h2 http/1.1
|
||||
|
||||
SSLEngine on
|
||||
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
|
||||
SSLCipherSuite {{ tls_ciphers }}
|
||||
SSLHonorCipherOrder off
|
||||
SSLSessionTickets off
|
||||
|
||||
SSLCertificateKeyFile {{ tls_private }}/{{ inventory_hostname }}.key
|
||||
SSLCertificateFile {{ tls_certs }}/{{ inventory_hostname }}.crt
|
||||
</VirtualHost>
|
Loading…
Add table
Add a link
Reference in a new issue