| Current Path : /var/www/magento.test.indacotrentino.com/conf/ |
| Current File : /var/www/magento.test.indacotrentino.com/conf/magento.test.indacotrentino.com-le-ssl.conf |
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/magento.test.indacotrentino.com/www
ServerName magento.test.indacotrentino.com
CustomLog /var/www/magento.test.indacotrentino.com/log/access.log common
ErrorLog /var/www/magento.test.indacotrentino.com/log/error.log
#RewriteEngine on
#RewriteCond %{SERVER_NAME} =magento.test.indacotrentino.com
#RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Header set Content-Security-Policy "frame-ancestors 'self';"
Header always set Referrer-Policy "strict-origin"
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
Include /etc/letsencrypt/options-ssl-apache.conf
#DumpIOInput On
#DumpIOOutput On
#LogLevel dumpio:trace7
#Reccomendation
ProxyPass /recommendations/ http://127.0.0.1:6000/
ProxyPassReverse /recommendations/ http://127.0.0.1:6000/
#FidelityChain
ProxyPass /api/v1/ http://127.0.0.1:6033/
ProxyPassReverse /api/v1/ http://127.0.0.1:6033/
<Location "/api/v1/">
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Allow-Headers "Content-Type, Authorization"
</Location>
<IfModule mod_security2.c>
SecRuleEngine On
SecRuleRemoveById 942100
SecRuleRemoveById 950004
SecRuleRemoveById 300016
</IfModule>
ServerAlias magento.test.indacotrentino.com
SSLCertificateFile /etc/letsencrypt/live/magento.test.indacotrentino.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/magento.test.indacotrentino.com/privkey.pem
</VirtualHost>
</IfModule>
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/magento.test.indacotrentino.com/www
ServerName economiasolidale.38121.it
CustomLog /var/www/magento.test.indacotrentino.com/log/economiasolidale-access.log common
ErrorLog /var/www/magento.test.indacotrentino.com/log/economiasolidal-error.log
RewriteEngine on
SSLCertificateFile /etc/letsencrypt/live/economiasolidale.38121.it/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/economiasolidale.38121.it/privkey.pem
</VirtualHost>
</IfModule>
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/magento.test.indacotrentino.com/www
ServerName autumnus.test.indacotrentino.com
CustomLog /var/www/magento.test.indacotrentino.com/log/autumnus-access.log common
ErrorLog /var/www/magento.test.indacotrentino.com/log/autumnus-error.log
RewriteEngine on
ServerAlias autumnus.test.indacotrentino.com
SSLCertificateFile /etc/letsencrypt/live/autumnus.test.indacotrentino.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/autumnus.test.indacotrentino.com/privkey.pem
</VirtualHost>
</IfModule>
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/magento.test.indacotrentino.com/www
ServerName economiasolidale.test.indacotrentino.com
CustomLog /var/www/magento.test.indacotrentino.com/log/economiasolidale-access.log common
ErrorLog /var/www/magento.test.indacotrentino.com/log/economiasolidal-error.log
ServerAlias economiasolidale.test.indacotrentino.com
SSLCertificateFile /etc/letsencrypt/live/economiasolidale.test.indacotrentino.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/economiasolidale.test.indacotrentino.com/privkey.pem
</VirtualHost>
</IfModule>
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/magento.test.indacotrentino.com/www
ServerName forst-trento.test.indacotrentino.com
CustomLog /var/www/magento.test.indacotrentino.com/log/forst-trento-access.log common
ErrorLog /var/www/magento.test.indacotrentino.com/log/forst-trento-error.log
ServerAlias forst-trento.test.indacotrentino.com
SSLCertificateFile /etc/letsencrypt/live/forst-trento.test.indacotrentino.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/forst-trento.test.indacotrentino.com/privkey.pem
</VirtualHost>
</IfModule>