#732 mod_http_upload: Allow PUT URL to be different from GET URL

Reporter Link Mauve
Owner Nobody
Stars ★ (1)
  • Type-Enhancement
  • Status-WontFix
  • Priority-Medium
  1. Link Mauve on

    Description of feature: When using mod_http_upload in front of a reverse proxy, it makes a lot of sense to let said proxy serve the files directly to downloading users, while uploads are passed to Prosody. Having the possibility to configure a different URL to be returned in the GET and in the PUT fields of a slot makes that trivial.

  2. mt on

    In the meantime you could use something like this [1] if you use nginx, don't know if apache has something like this as well. [1]: https://github.com/siacs/HttpUploadComponent/blob/master/contrib/nginx_site_example

  3. Zash on

    I'm not going to do this.

    • tags Status-WontFix
  4. Link Mauve on

    In the end I let Prosody use its default configuration, and used mt’s suggestion of making nginx proxy only ¬GET requests to Prosody, so I’m happy despite the WontFix. :)

New comment

Not published. Used for spam prevention and optional update notifications.