Software / code / prosody
Diff
plugins/adhoc/adhoc.lib.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 |
| parent | 11351:6b541d3c4c1b |
| child | 12429:16a49f04d507 |