Software / code / prosody-modules
Comparison
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 |
| parent | 1803:4d73a1a6ba68 |
comparison
equal
deleted
inserted
replaced
| 1819:1b08597b5e6f | 1820:8de50be756e5 |
|---|---|
| 24 ============= | 24 ============= |
| 25 | 25 |
| 26 To isolate all hosts by default, add the module to your global | 26 To isolate all hosts by default, add the module to your global |
| 27 modules\_enabled: | 27 modules\_enabled: |
| 28 | 28 |
| 29 modules_enabled = { | 29 ``` {.lua} |
| 30 ... | 30 modules_enabled = { |
| 31 "isolate_host"; | 31 ... |
| 32 ... | 32 "isolate_host"; |
| 33 } | 33 ... |
| 34 } | |
| 35 ``` | |
| 34 | 36 |
| 35 Alternatively you can isolate a single host by putting a | 37 Alternatively you can isolate a single host by putting a |
| 36 modules\_enabled line under the VirtualHost directive: | 38 modules\_enabled line under the VirtualHost directive: |
| 37 | 39 |
| 38 VirtualHost "example.com" | 40 ``` {.lua} |
| 39 modules_enabled = { "isolate_host" } | 41 VirtualHost "example.com" |
| 42 modules_enabled = { "isolate_host" } | |
| 43 ``` | |
| 40 | 44 |
| 41 After enabling the module, you can add further options to add exceptions | 45 After enabling the module, you can add further options to add exceptions |
| 42 for the isolation: | 46 for the isolation: |
| 43 | 47 |
| 44 Option Description | 48 Option Description |