aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-25 16:57:01 +0100
committerKim Alvefur <zash@zash.se>2021-11-25 16:57:01 +0100
commit17aad028b3abca9d8ba6e067dce2b9bbf29136fd (patch)
tree73797c0a9dbf12037418afaaef3a5db7f7b1fac5 /core/s2smanager.lua
parente29326533e52a8fc146ea0e58124a60d5ee306b0 (diff)
downloadprosody-17aad028b3abca9d8ba6e067dce2b9bbf29136fd.tar.gz
prosody-17aad028b3abca9d8ba6e067dce2b9bbf29136fd.zip
mod_http_openmetrics: Serve HTTP from global context
Makes GET /metrics work regardless of the value of the Host header. This was not possible before 220468f7a103 which added the ability to have global HTTP modules, which was partly why the per-host part was kept while the module lived among the community modules. Another reason was to provide some semblance of security by obscurity by only loading the module on e.g. a 'localhost' VirtualHost or Component. The new IP limits obsoletes this.
Diffstat (limited to 'core/s2smanager.lua')
0 files changed, 0 insertions, 0 deletions