Software /
code /
prosody
Diff
net/http.lua @ 11383:98b7ae7064b2
mod_http: Consider x-forwarded-proto from trusted proxies
Should be better than setting consider_{bosh,websocket}_secure as that
may end up causing actually insecure requests to be considered secure.
Doing it here, as with IP, should make this apply to all HTTP modules.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Feb 2021 10:00:56 +0100 (2021-02-18) |
parent | 11220:9b25eecde9e6 |
child | 11661:735b8f4a6d7e |