I have the following configuration on Debian based on 2 servers:
On main server there are Apache2 and Magento 2 with Redis and Memcached.
On 2nd server there is Varnish which listens on
Everything works perfectly until I try to use
I installed nginx on the 2nd server and configured it to work as SSL termination according to this tutorial.
http://example.comworks because it goes directly to Varnish
https://example.comends with only text without css/js/images, because of the mixed content error below:
Error: "Mixed Content: The page at 'https:// example.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://example.com/pub/static/frontend/Mycompany/Mytheme/en_US/mage/calendar.css'. This request has been blocked; the content must be served over HTTPS."
Does it mean that it is not possible to use Magento 2 with Varnish over https?