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

Topic proxy configuration nginx https Wordpress

Category Web


Please take a look at Administation Over SSL, particularly the "Using a Reverse Proxy" section.


What about using a Force SSL plugin like this one?

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.