prosody: Set correct external URL for http_upload component (fixes HTTP uploads)
This commit is contained in:
parent
4278cc055f
commit
d71359104c
|
@ -223,6 +223,7 @@ Component ("share."..DOMAIN) "http_upload"
|
|||
-- For backwards compat, allow HTTP upload on the base domain
|
||||
if ENV_SNIKKET_TWEAK_SHARE_DOMAIN ~= "1" then
|
||||
http_host = "share."..DOMAIN
|
||||
http_external_url = "https://share."..DOMAIN.."/"
|
||||
end
|
||||
http_upload_file_size_limit = 1024 * 1024 * 10 -- 10MB
|
||||
|
||||
|
|
Loading…
Reference in New Issue