Now I am implementing a server and install several applications, plone, gitlab, and so on.
However, network security section in my institute permits me to open only 443 (https) ports.
Then, I implement reverse proxy by using nginx.
When the URL is include "plone" like "https://mydomain/plone", the packets are transferred to "http://localhost:8092/plone".
(As the same manner, the gitlab is also transferred to 8084 ports like "https://mydomain/gitlab" -> "http://localhost:8084")
But the plone web page shows "Mixed content blocking in Firefox" and figures and icons do not appear.
Please let me know how I can solve it.
In the local machine, I can see the plone page correctly to fill "http://localhost:8092/plone" in URL.
My configuration of nginx is
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name localhost;
ignore_invalid_headers off;
ssl_certificate "/etc/pki/tls/certs/mydomain.pem";
ssl_certificate_key "/etc/pki/tls/certs/mydomain.key";
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 10m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location ^~ /gitlab {
proxy_pass http://127.0.0.1:8084;
}
location ^~ /plone {
proxy_pass http://127.0.0.1:8092/;
}
}