ansible-role-nginx/templates
Julian Rother 5a3a51e1be
Add force_forwarded_ssl_header vhost/location option
This is a workaround for running an application behind two layers of reverse
proxies with the outer one terminating ssl. In this case the inner proxy
receives requests with plain http and sets X-Forwarded-Proto, X-Forwarded-Ssl
and X-Url-Scheme to "http", although the original requests used https. This
breaks some applications.

Ideally we would use a mechanism similar to real_ip_from and just forward the
proto/ssl/scheme headers if the request came from a trusted proxy, but this
workaround is much simpler.
2022-11-17 19:57:28 +01:00
..
php-fpm Add date_timezone php.ini option 2022-08-03 22:33:40 +02:00
dns.conf.j2 moved resolver to nginx dict 2019-09-01 23:35:15 +02:00
maps.conf.j2 added support for includes and auths, extended docu 2020-04-18 22:29:15 +02:00
proxy.conf.j2 add promtail and geoip support 2021-11-26 03:33:55 +01:00
ssl_files.conf.j2 added support for includes and auths, extended docu 2020-04-18 22:29:15 +02:00
stream.conf.j2 add more options to stream proxying 2021-11-13 20:30:42 +01:00
upstreams.conf.j2 add support for max_fails and fail_timeout for upstreams 2020-12-20 20:45:35 +01:00
vhost.conf.j2 Add force_forwarded_ssl_header vhost/location option 2022-11-17 19:57:28 +01:00