diff options
author | Kim Alvefur <zash@zash.se> | 2021-11-25 16:57:01 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-11-25 16:57:01 +0100 |
commit | 17aad028b3abca9d8ba6e067dce2b9bbf29136fd (patch) | |
tree | 73797c0a9dbf12037418afaaef3a5db7f7b1fac5 /plugins/mod_admin_shell.lua | |
parent | e29326533e52a8fc146ea0e58124a60d5ee306b0 (diff) | |
download | prosody-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 'plugins/mod_admin_shell.lua')
0 files changed, 0 insertions, 0 deletions