Add conf for cert in the vhost:443

This commit is contained in:
Sébastien Grenier 2018-07-10 23:38:40 -03:00
parent 47c4bd5bbd
commit 5487912047
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@
RewriteCond %{REQUEST_FILENAME} !/.well-known/acme-challenge/ RewriteCond %{REQUEST_FILENAME} !/.well-known/acme-challenge/
RewriteRule ^/(.*)$ http://%%fqdn%%/$1 [R=301,L] RewriteRule ^/(.*)$ http://%%fqdn%%/$1 [R=301,L]
SSLEngine On
SSLCertificateFile %%CRT%%
SSLCertificateKeyFile %%KEY%%
%%CHAINLINE%%
</Virtualhost> </Virtualhost>
<VirtualHost *:80> <VirtualHost *:80>