This commit is contained in:
@@ -3,9 +3,24 @@
|
|||||||
ServerAlias maui.local
|
ServerAlias maui.local
|
||||||
DocumentRoot /var/www/html/
|
DocumentRoot /var/www/html/
|
||||||
|
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{HTTPS} off
|
||||||
|
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
<IfModule mod_ssl.c>
|
||||||
|
<VirtualHost *:443>
|
||||||
|
ServerName localhost
|
||||||
|
ServerAlias maui.local
|
||||||
|
DocumentRoot /var/www/html/
|
||||||
|
|
||||||
|
SSLCertificateFile /etc/letsencrypt/live/mushu.nest.lutran.ch/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/mushu.nest.lutran.ch/privkey.pem
|
||||||
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
|
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
|
|
||||||
# Serve http://localhost/livetrail/ from the public web root.
|
# Serve https://localhost/livetrail/ from the public web root.
|
||||||
Alias /livetrail /var/www/html/livetrail/public
|
Alias /livetrail /var/www/html/livetrail/public
|
||||||
|
|
||||||
<Directory /var/www/html/livetrail/public>
|
<Directory /var/www/html/livetrail/public>
|
||||||
@@ -52,3 +67,4 @@
|
|||||||
</IfModule>
|
</IfModule>
|
||||||
</Directory>
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
</IfModule>
|
||||||
|
|||||||
-69644
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user