Alias /PMA /var/www/vhosts/PMA
<VirtualHost *:80>
ServerName stage.sappersuite.com
Redirect / https://stage.sappersuite.com
ServerAdmin webmaster@localhost
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName stage.sappersuite.com
DocumentRoot /var/www/vhosts/stage.sappersuite.com/html/
SSLEngine on
SSLCertificateFile /etc/ssl/certs/stage.sappersuite.com.crt
SSLCertificateKeyFile /etc/ssl/private/stage.sappersuite.com.key
ErrorLog ${APACHE_LOG_DIR}/stage.sappersuite.com.error.log
CustomLog ${APACHE_LOG_DIR}/stage.sappersuite.com.access.log combined
<Directory /var/www/vhosts/stage.sappersuite.com/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName stage.sappersuite.com
Redirect / https://stage.sappersuite.com
ServerAdmin webmaster@localhost
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName stage.sappersuite.com
DocumentRoot /var/www/vhosts/stage.sappersuite.com/html/
SSLEngine on
SSLCertificateFile /etc/ssl/certs/stage.sappersuite.com.crt
SSLCertificateKeyFile /etc/ssl/private/stage.sappersuite.com.key
ErrorLog ${APACHE_LOG_DIR}/stage.sappersuite.com.error.log
CustomLog ${APACHE_LOG_DIR}/stage.sappersuite.com.access.log combined
<Directory /var/www/vhosts/stage.sappersuite.com/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
No comments:
Post a Comment