Hello guys,
I installed a SSL certificate on my server yesterday. My server is working just fine, but it only serves the static files over HTTP instead of HTTPS and I don’t know why. The static files are accessible both on HTTP and HTTPS. I want the server to only serve them on HTTPS so that I’m not getting
Mixed Content: The page at 'https://www.hyipinfo.eu/css/main.js' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.hyipinfo.eu/css/main.css'. This request has been blocked; the content must be served over HTTPS.
I’m not sure whether this is fault of the settings of Nginx or Express.
note: I haven’t set up Express for HTTPS (I’m not sure whether this is necessary. IMO, it is NOT)