mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-05-05 05:30:39 +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
|
@ -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…
Add table
Add a link
Reference in a new issue