Wordpress behind Proxy - Mixed Content
My Server Env for a wordpress site is as follows:
---------- --------- -------------
| Client | -- HTTPS -- | Proxy | -- HTTP -- | Wordpress |
---------- --------- -------------
The Problem is that the Wordpress Site itself is served internally over HTTP but the Client communicates over HTTPS with the Proxy. Since Wordpress is configured with HTTP it returns links and images-src with "http://" which leads to mixed-content
errors in the browsers. (Eg. all css / script links generated by wp_head() return http:// urls)
Can i configure Wordpress to generate only "https://" urls, even if it's serverd over HTTP?
Wordpress runs on nginx webserver
The Proxy is also nginx