First commit - DAMP stack with Prestashop 8 packed - Wp not completed yet
This commit is contained in:
30
conf/apache/httpd-vhosts.conf
Normal file
30
conf/apache/httpd-vhosts.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
<VirtualHost *:443>
|
||||
proxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://php:9000${DOCUMENT_ROOT}/
|
||||
SSLEngine on
|
||||
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
|
||||
|
||||
SSLCertificateFile /etc/certs/${SERVER_NAME}.pem
|
||||
SSLCertificateKeyFile /etc/certs/${SERVER_NAME}-key.pem
|
||||
SSLCertificateChainFile /etc/certs/cacert.pem
|
||||
|
||||
ServerName ${SERVER_NAME}/
|
||||
DocumentRoot ${DOCUMENT_ROOT}
|
||||
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
<Directory /var/www/html>
|
||||
AllowOverride none
|
||||
Require all granted
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
DirectoryIndex index.php
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName ${SERVER_NAME}
|
||||
Redirect / https://${SERVER_NAME}
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user