This commit is contained in:
2019-09-16 15:53:08 +02:00
parent a704a8190d
commit 4b0d392e58
3 changed files with 7 additions and 3 deletions

View File

@ -13,8 +13,13 @@ Listen %%adresse_ip_eth0:%%ninegate_websocket_portexterne
ErrorLog /var/log/apache2/ssl_error.log
CustomLog /var/log/apache2/ssl_access.log common
SSLEngine on
%if %%cert_type == "letsencrypt"
SSLCertificateFile /etc/ssl/letsencrypt/conf/live/%%ninegate_websocket_url/cert.pem
SSLCertificateKeyFile /etc/ssl/letsencrypt/conf/live/%%ninegate_websocket_url/privkey.pem
%else
SSLCertificateFile %%server_cert
SSLCertificateKeyFile %%server_key
%end if
SSLProtocol all -SSLv3 -SSLv2
ServerName %%ninegate_websocket_url
RewriteEngine On