feerdispzoo
Verified User
- Joined
- Jan 17, 2022
- Messages
- 189
Hi everyone,
Maybe someone can help me because I've been struggling with this for 9 hours and I've been clicking and still nothing.
in same user both app
app.com = nodeapp proxy nginx
api.app.com - wordpress api backend
Solution 1:
I pause cloudflare, disable ssl in CF etc.
and Now:
1) for node app i can only access with http:// for https:// return 502 bad gateway
2) for wordpress backend is correct i can access with https:// and with http://
Solution 2:
I enable cloudflare, enable flexible ssl in CF, enable always use https, auto automatic https rewrites .
and Now:
1) for node app i can access correct with https:// and when i try access with http then automatic rewrite to https so is correct
2) for wordpress backend when i access with https:// then destroy all styles etc, in log console return mixed content http in inspection code all urls is with http:// (this is fresh installation, without custom link, all settings domain have url with https:// etc (when i disable cloudflare then all working correct without issue with mixed content).
And now I don't know how to solve it:
to sum up: node app doesn't work without CF, but wordpress working.
node app works with CF, but wordpress doesn't work
After enable cloudflare:
After disable CloudFlare all is correct with https and for wordpress all working.
Mixed Content: The page at 'https://secure.app.pl/zamowienie/?session_id=t_843661da799bce606d37a67ec1aa97&return_url=/cart/success' was loaded over HTTPS, but requested an insecure image '. This request has been blocked; the content must be served over HTTPS.
When I select in CloudFlare automatic http rewrites, then when is any custom url with http (but in my case not available custom url) then still should rewrite this to https, but looks likes this function not work.
Maybe someone can help me because I've been struggling with this for 9 hours and I've been clicking and still nothing.
in same user both app
app.com = nodeapp proxy nginx
api.app.com - wordpress api backend
Solution 1:
I pause cloudflare, disable ssl in CF etc.
and Now:
1) for node app i can only access with http:// for https:// return 502 bad gateway
2) for wordpress backend is correct i can access with https:// and with http://
Solution 2:
I enable cloudflare, enable flexible ssl in CF, enable always use https, auto automatic https rewrites .
and Now:
1) for node app i can access correct with https:// and when i try access with http then automatic rewrite to https so is correct
2) for wordpress backend when i access with https:// then destroy all styles etc, in log console return mixed content http in inspection code all urls is with http:// (this is fresh installation, without custom link, all settings domain have url with https:// etc (when i disable cloudflare then all working correct without issue with mixed content).
And now I don't know how to solve it:
to sum up: node app doesn't work without CF, but wordpress working.
node app works with CF, but wordpress doesn't work
After enable cloudflare:
After disable CloudFlare all is correct with https and for wordpress all working.
Mixed Content: The page at 'https://secure.app.pl/zamowienie/?session_id=t_843661da799bce606d37a67ec1aa97&return_url=/cart/success' was loaded over HTTPS, but requested an insecure image '. This request has been blocked; the content must be served over HTTPS.
When I select in CloudFlare automatic http rewrites, then when is any custom url with http (but in my case not available custom url) then still should rewrite this to https, but looks likes this function not work.
Last edited: