mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-04-19 16:01:14 +00:00
Add environment variable HTTP_UPLOAD_FILE_SIZE_LIMIT for setting http_upload_file_size_limit
This commit is contained in:
parent
375b006814
commit
6058567577
2 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,13 @@
|
|||
## Unreleased
|
||||
|
||||
* Update to debian bookworm
|
||||
* [Add LDAP authentication support](https://github.com/SaraSmiseth/prosody/pull/50)
|
||||
* Add environment variable HTTP_UPLOAD_FILE_SIZE_LIMIT for setting http_upload_file_size_limit.
|
||||
|
||||
## v1.2.9
|
||||
|
||||
* Update prosody to version 0.12.3
|
||||
* Update luarocks to version 3.9.2
|
||||
|
||||
## v1.2.8
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ VirtualHost (domain)
|
|||
-- Set up a http file upload because proxy65 is not working in muc
|
||||
Component (domain_http_upload) "http_upload"
|
||||
http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds
|
||||
http_upload_file_size_limit = os.getenv("HTTP_UPLOAD_FILE_SIZE_LIMIT") or 1024 * 1024 -- Default is 1MB
|
||||
|
||||
Component (domain_muc) "muc"
|
||||
name = "Prosody Chatrooms"
|
||||
|
|
Loading…
Reference in a new issue