35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
<IfModule mod_ssl.c>
|
|
NameVirtualHost *:80
|
|
|
|
<VirtualHost *:443>
|
|
ServerName ketrenos.com
|
|
ServerAlias *.ketrenos.com
|
|
# Redirect permanent / https://ketrenos.com/
|
|
# RewriteEngine On
|
|
# Some rewrite rules in this file were disabled on your HTTPS site,
|
|
# because they have the potential to create redirection loops.
|
|
# RewriteCond %{HTTPS} off
|
|
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
SSLCertificateFile /etc/letsencrypt/live/ketrenos.com/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/ketrenos.com/privkey.pem
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
</VirtualHost>
|
|
</IfModule>
|
|
<IfModule mod_ssl.c>
|
|
<VirtualHost *:80>
|
|
ServerName ketrenos.com
|
|
ServerAlias *.ketrenos.com
|
|
Redirect permanent / https://ketrenos.com/
|
|
RewriteEngine On
|
|
# Some rewrite rules in this file were disabled on your HTTPS site,
|
|
# because they have the potential to create redirection loops.
|
|
|
|
# RewriteCond %{HTTPS} off
|
|
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
|
# RewriteCond %{SERVER_NAME} =ketrenos.com [OR]
|
|
# RewriteCond %{SERVER_NAME} =*.ketrenos.com
|
|
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,QSA,R=permanent]
|
|
</VirtualHost>
|
|
</IfModule>
|