19 lines
671 B
ApacheConf
19 lines
671 B
ApacheConf
RewriteEngine On
|
|
|
|
RewriteCond %{HTTP_HOST} !^www\.
|
|
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
|
|
|
|
RewriteCond %{HTTPS} off
|
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
|
|
|
# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION BEGIN
|
|
PassengerAppRoot "/home/wdgl1530/antinote.fr"
|
|
PassengerBaseURI "/"
|
|
PassengerPython "/home/wdgl1530/virtualenv/antinote.fr/3.10/bin/python"
|
|
PassengerAppLogFile "/home/wdgl1530/logs/passenger.log"
|
|
# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION END
|
|
# DO NOT REMOVE OR MODIFY. CLOUDLINUX ENV VARS CONFIGURATION BEGIN
|
|
<IfModule Litespeed>
|
|
</IfModule>
|
|
# DO NOT REMOVE OR MODIFY. CLOUDLINUX ENV VARS CONFIGURATION END
|