This commit is contained in:
@@ -1,11 +1,26 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName localhost
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
<Directory /var/www/html/livetrail/public>
|
||||
@@ -52,3 +67,4 @@
|
||||
</IfModule>
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
||||
Reference in New Issue
Block a user