Add environment variable HTTP_UPLOAD_FILE_SIZE_LIMIT for setting http_upload_file_size_limit

This commit is contained in:
Sara Aimée Smiseth 2023-09-07 15:41:10 +02:00
parent 375b006814
commit 6058567577
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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"