Mercurial > prosody-modules
diff mod_isolate_host/README.markdown @ 1820:8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 02 Sep 2015 17:30:33 +0200 |
parents | 4d73a1a6ba68 |
children |
line wrap: on
line diff
--- a/mod_isolate_host/README.markdown Wed Sep 02 16:43:34 2015 +0200 +++ b/mod_isolate_host/README.markdown Wed Sep 02 17:30:33 2015 +0200 @@ -26,17 +26,21 @@ To isolate all hosts by default, add the module to your global modules\_enabled: - modules_enabled = { - ... - "isolate_host"; - ... - } +``` {.lua} +modules_enabled = { + ... + "isolate_host"; + ... +} +``` Alternatively you can isolate a single host by putting a modules\_enabled line under the VirtualHost directive: - VirtualHost "example.com" - modules_enabled = { "isolate_host" } +``` {.lua} +VirtualHost "example.com" +modules_enabled = { "isolate_host" } +``` After enabling the module, you can add further options to add exceptions for the isolation: