Software / code / prosody-modules
Comparison
mod_http_upload/README.markdown @ 4443:0a56dc6c61af
mod_http_upload: Add access config option
| author | Nicolas Cedilnik <nicoco@nicoco.fr> |
|---|---|
| date | Tue, 16 Feb 2021 21:29:27 +0100 |
| parent | 4070:268fa9d45840 |
| child | 4617:260a33eabbd3 |
comparison
equal
deleted
inserted
replaced
| 4442:74da3643c62d | 4443:0a56dc6c61af |
|---|---|
| 33 ``` {.lua} | 33 ``` {.lua} |
| 34 VirtualHost "foo.example.org" | 34 VirtualHost "foo.example.org" |
| 35 disco_items = { | 35 disco_items = { |
| 36 { "upload.example.com" }, | 36 { "upload.example.com" }, |
| 37 } | 37 } |
| 38 ``` | |
| 39 | |
| 40 ## Access | |
| 41 | |
| 42 You may want to give upload access to additional entities such as components | |
| 43 by using the `http_upload_access` config option. | |
| 44 | |
| 45 ``` {.lua} | |
| 46 http_upload_access = {"gateway.example.com"}; | |
| 38 ``` | 47 ``` |
| 39 | 48 |
| 40 Limits | 49 Limits |
| 41 ------ | 50 ------ |
| 42 | 51 |