load balancing - Blocked insecure content chrome -
i working haproxy configure ssl. in ha.cfg
writing
frontend https bind *:443 ssl crt /etc/ssl/ssl.key/myserver.crt acl hari path_beg /customers acl css path_beg /assets reqadd x-forwarded-proto:\ https use_backend appointpress_app if hari use_backend appointpress_app if css default_backend appointpress_site
everything fine in firefox
in chrome
js , css not being loaded. in console getting error :
[blocked] page https://mydomain.com ran insecure content http://mydomain.com/css/mycss.css
why getting such error ad how can come out of problem. missing in haproxy config
thanks in advance
all assets , objects being loaded should come ssl. happening here calling script or css file pointing http rather https.
your best bet load resources , assets using schemeless urls src="//somedomain.com/asset.css"
example.
Comments
Post a Comment