Software /
code /
prosody-modules
Changeset
4067:5790c3cf615b
mod_rest/README: Describe use on VirtualHosts
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Jul 2020 21:54:52 +0200 |
parents | 4066:07ae583bc565 |
children | 4068:504a0cd5f883 |
files | mod_rest/README.markdown |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_rest/README.markdown Mon Jul 20 21:42:11 2020 +0200 +++ b/mod_rest/README.markdown Mon Jul 20 21:54:52 2020 +0200 @@ -12,7 +12,14 @@ # Usage -## Enabling +## On VirtualHosts + +```lua +VirtualHost "example.com" +modules_enabled = {"rest"} +``` + +## As a Component ``` {.lua} Component "rest.example.net" "rest"