25 lines
807 B
Plaintext
25 lines
807 B
Plaintext
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerName pwtool.net
|
|
ServerAlias www.pwtool.net pwtool.net
|
|
# Redirect permanent / https://pwtool.net/
|
|
#</VirtualHost>
|
|
|
|
#<VirtualHost *:443>
|
|
# ServerName www.pwtool.net pwtool.net
|
|
# SSLEngine on
|
|
|
|
DocumentRoot /var/www/pwtool/html
|
|
LogLevel warn
|
|
ErrorLog /var/log/httpd/https-pwtool.net-error_log
|
|
CustomLog /var/log/httpd/https-pwtool.net-referer_log referer
|
|
CustomLog /var/log/httpd/https-pwtool.net-agent_log agent
|
|
CustomLog /var/log/httpd/https-pwtool.net-access_log combined
|
|
|
|
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
SSLCertificateFile /etc/letsencrypt/live/pwtool.net/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/pwtool.net/privkey.pem
|
|
</VirtualHost>
|
|
</IfModule>
|