Software / code / prosody-modules
Comparison
mod_http_authentication/README.markdown @ 3019:b19d64dd4c66
mod_http_authentication/README: Change name of config option to match the code
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 20 May 2018 03:43:38 +0200 |
| parent | 3012:1380ae0e003f |
comparison
equal
deleted
inserted
replaced
| 3018:727a8beeb5c3 | 3019:b19d64dd4c66 |
|---|---|
| 8 | 8 |
| 9 This module enforces HTTP Basic authentication across all HTTP endpoints served by Prosody. | 9 This module enforces HTTP Basic authentication across all HTTP endpoints served by Prosody. |
| 10 | 10 |
| 11 ## Configuration | 11 ## Configuration |
| 12 | 12 |
| 13 Name Default Description | 13 Name Default Description |
| 14 ------------------------------- ------------------------------- ----------------------------- | 14 ---------------------------------- --------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- |
| 15 minddistrict_http_credentials "minddistrict:secretpassword" The credentials that HTTP clients must provide to access the HTTP interface. Should be a string with the syntax "username:password". | 15 http\_credentials "minddistrict:secretpassword" The credentials that HTTP clients must provide to access the HTTP interface. Should be a string with the syntax "username:password". |
| 16 unauthenticated_http_endpoints { "/http-bind", "/http-bind/" } A list of paths that should be excluded from authentication. | 16 unauthenticated\_http\_endpoints { "/http-bind", "/http-bind/" } A list of paths that should be excluded from authentication. |
| 17 | 17 |
| 18 ## Usage | 18 ## Usage |
| 19 | 19 |
| 20 This is a global module, so should be added to the global `modules_enabled` option in your config file. It applies to all HTTP virtual hosts. | 20 This is a global module, so should be added to the global `modules_enabled` option in your config file. It applies to all HTTP virtual hosts. |
| 21 | 21 |