Remove http to https redirection (because it may cause unexpected issues)
This commit is contained in:
@@ -2,8 +2,13 @@ define ROOT "<<PROJECT_DIR>>"
|
||||
define SITE "<<HOSTNAME>>"
|
||||
|
||||
<VirtualHost *:<<PORT>>>
|
||||
DocumentRoot "${ROOT}"
|
||||
ServerName ${SITE}
|
||||
Redirect / https://${SITE}
|
||||
ServerAlias *.${SITE}
|
||||
<Directory "${ROOT}">
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:<<SSL_PORT>>>
|
||||
@@ -20,6 +25,3 @@ define SITE "<<HOSTNAME>>"
|
||||
SSLCertificateKeyFile <<SSL_DIR>>/<<HOSTNAME>>.key
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
# This file is auto-generated.
|
||||
# If you want Laragon to respect your changes, just remove the [auto.] prefix
|
||||
Reference in New Issue
Block a user