Comparison

mod_http_upload_external/README.markdown @ 5942:abd1bbe5006e draft default tip

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 16 Feb 2025 16:09:03 +0700
parent 5933:070b0db6c4a0
comparison
equal deleted inserted replaced
5856:75dee6127829 5942:abd1bbe5006e
1 --- 1 ---
2 description: HTTP File Upload (external service) 2 description: HTTP File Upload (external service)
3 labels: 'Stage-Alpha' 3 labels:
4 - Stage-Alpha
4 --- 5 ---
5 6
6 Introduction 7 Introduction
7 ============ 8 ============
8 9
17 18
18 * [PHP implementation](https://hg.prosody.im/prosody-modules/raw-file/tip/mod_http_upload_external/share.php) 19 * [PHP implementation](https://hg.prosody.im/prosody-modules/raw-file/tip/mod_http_upload_external/share.php)
19 * [Python3+Flask implementation](https://github.com/horazont/xmpp-http-upload) 20 * [Python3+Flask implementation](https://github.com/horazont/xmpp-http-upload)
20 * [Go implementation, Prosody Filer](https://github.com/ThomasLeister/prosody-filer) 21 * [Go implementation, Prosody Filer](https://github.com/ThomasLeister/prosody-filer)
21 * [Perl implementation for nginx](https://github.com/weiss/ngx_http_upload) 22 * [Perl implementation for nginx](https://github.com/weiss/ngx_http_upload)
23 * [Rust implementation](https://gitlab.com/nyovaya/xmpp-http-upload)
22 24
23 To implement your own service compatible with this module, check out the implementation notes below 25 To implement your own service compatible with this module, check out the implementation notes below
24 (and if you publish your implementation - let us know!). 26 (and if you publish your implementation - let us know!).
25 27
26 Configuration 28 Configuration
73 75
74 Access 76 Access
75 ------ 77 ------
76 78
77 You may want to give upload access to additional entities such as components 79 You may want to give upload access to additional entities such as components
78 by using the `http_upload_access` config option. 80 by using the `http_upload_external_access` config option.
79 81
80 ``` {.lua} 82 ``` {.lua}
81 http_upload_access = {"gateway.example.com"}; 83 http_upload_external_access = {"gateway.example.com"};
82 ``` 84 ```
83 85
84 Compatibility 86 Compatibility
85 ============= 87 =============
86 88