prosody: Set correct external URL for http_upload component (fixes HTTP uploads)

This commit is contained in:
Matthew Wild 2021-01-29 22:17:32 +00:00
parent 4278cc055f
commit d71359104c
1 changed files with 1 additions and 0 deletions

View File

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