You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Althrough I can access my server via https://myweb.com/app/, but some assets can not access correctly.
Chrome error is: Mixed Content: The page at 'https://myweb.com/app/' was loaded over HTTPS, but requested an insecure stylesheet 'http://myweb.com/app/css/style.css'. This request has been blocked; the content must be served over HTTPS.
The reason is haproxy access to nginx ingress controller via http, so the base tag is <head><base href="http://myweb.com/app/">. It is wrong, https is correct.
It is necessary to add a option to specific scheme for base url.
There is a scene:
client <--https--> haproxy (ssl termination) <--http--> nginx ingress controller <--> real server
My configuration is:
Althrough I can access my server via
https://myweb.com/app/
, but some assets can not access correctly.Chrome error is:
Mixed Content: The page at 'https://myweb.com/app/' was loaded over HTTPS, but requested an insecure stylesheet 'http://myweb.com/app/css/style.css'. This request has been blocked; the content must be served over HTTPS.
The reason is haproxy access to nginx ingress controller via
http
, so the base tag is<head><base href="http://myweb.com/app/">
. It is wrong,https
is correct.It is necessary to add a option to specific scheme for base url.
@aledbf @quickwind
The text was updated successfully, but these errors were encountered: