Dear all,
I have an apparently common problem with a slightly uncommon setup. I use xwiki+jetty behind an nginx proxy for ssl conversion. Unfortunately, this leads to the xmlhttprequest over http problem, as many of the commands are not converted to https
Mixed Content: The page at ‘https://xxx/xwiki/bin/view/Main/#edit’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://x/xwiki/bin/lock/Main/WebHome?ajax=1&action=edit&language=en’. This request has been blocked; the content must be served over HTTPS.
I tried changing the settings in xwiki.cfg to
xwiki.home=https://xxx:443/
xwiki.url.protocol=https
but to no avail. If I understand correctly, this is not an nginx issue, as the browser already blocks the http requests (and nginx doesn’t even get a chance to rewrite the requests to https)
Any thoughts on how to fix this, all pointers in the current documentation seem to have solutions for tomcat but not jetty
Thank you!