File

mod_http_upload/README.markdown @ 1840:3bd265f7a95f

mod_http_upload/README: Point to Prosodys HTTP docs
author Kim Alvefur <zash@zash.se>
date Fri, 11 Sep 2015 09:42:52 +0200
parent 1816:e5d723afd6ba
child 1847:cd98a1103ecf
line wrap: on
line source

Introduction
============

This module provides a space for clients to upload files over HTTP, as
used by [Conversations](http://conversations.im/).

Configuration
=============

The module can either be configured as a component or added to an
existing host or component.

mod\_http\_upload relies on Prosodys HTTP server and mod\_http for
serving HTTP requests. See [Prosodys HTTP server
documentation](https://prosody.im/doc/http) for information about how to
configure ports, HTTP Host names etc.

Component
---------

Standalone component:

    Component "upload.example.org" "http_upload"

Existing component
------------------

    Component "proxy.example.org" "proxy65"
    modules_enabled = {
      "http_upload";
    }

On VirtualHosts
---------------

    -- In the Global section or under a specific VirtualHosts line
    modules_enabled = {
      -- other modules
      "http_upload";
    }