How i have some trouble for redirect my http://sub.domaine.tld to https://sub.domaine.tld . I use nginx with proxypass on a Debian jessie (server) and java version "1.8.0_51, a domain name + certficat ssl signed by startssl :

https for only listen music work fine because this no required to call a js script. But the problem is when would eg. edit settings or any other action who need to call a js script, my browser ( FF or Chromiun ) block the script because : Mixed Content There is no rules to rewrite this in https

Mixed Content: The page at 'https://sub.domaine.ltd/index.view' was loaded over HTTPS, but requested an insecure resource 'http://sub.domaine.ltd/musicFolderSettings.view'. This request has been blocked; the content must be served over HTTPS.