view mod_readonly/README.markdown @ 3748:27abf3b6819a

mod_log_json: Use correct method to specify remote endpoint Fun fact, on TCP connections :connect and :setpeername is the same function
author Kim Alvefur <zash@zash.se>
date Wed, 13 Nov 2019 17:57:54 +0100
parents ce5d1fa69ba3
children
line wrap: on
line source

This module blocks configured queries that change server state.

E.g. to make vCard storage read-only:

``` lua
readonly_stores = {
	vcard = { "vcard-temp", "vCard" };
}
```