diff mod_rest/README.markdown @ 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 2c6d5734ae04
children 504a0cd5f883
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"