dsxsoft Posted April 20, 2021 Share Posted April 20, 2021 (edited) I need help. I have Ubuntu 20.04 with a webmin / virtualmin panel which includes an Apache2 server. I installed preste 1.7.7.3 on the docker with mysql 5.7. Here is the Presta Docker setup sudo docker run -ti --name prestashop --network prestashop-net -e DB_SERVER = psmysql -p 8080: 80 -v / home / presta: / var / www / html -d prestashop / prestashop: 1.7-7.3-apache I have access to the store emample.com: 8080 I made in a reverse Apache proxy to access the store without 8080 only immediately http: // emample.com apache.config <VirtualHost *: 80> ServerName example.com ProxyPreserveHost On ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ </VirtualHost> Everything works fine from http: // example.com the problem appears when I enter from ssl https: // padlock is the store displayed but the css styles load the page is run by http works but not completely on https? In addition, in the presta panel I can not turn on all ssl pages button inactive calls by typing https: // example.com what should I do what should the apache configuration for ssl be? Now I have apache set up for ssl <VirtualHost *: 443> ServerName example.com ProxyPreserveHost On ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ RequestHeader ustawia X-Forwarded-Proto „https” SSLEngine on SSLCertificateFile /etc/ssl/crt/server.crt SSLCertificateKeyFile /etc/ssl/crt//server.key </VirtualHost> Edited April 20, 2021 by dsxsoft (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now