Skip to content

Commit

Permalink
RC1 try #3
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLeister committed Jun 25, 2018
1 parent 696f629 commit a221412
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ A simple file server for handling XMPP http_upload requests. This server is meat
* This server works without any script interpreters or additional dependencies. It is delivered as a binary.
* Go is very good at serving HTTP requests.

**Why shoud I NOT use this server?**

* This software is still work in progress


## Download

Expand Down Expand Up @@ -43,25 +39,28 @@ The application can now be build:

## Set up / configuration

[TBD]

### Setup Prosody Filter environment
### Setup Prosody Filer environment

Create a new user for Prosody Filer to run as:

adduser --disabled-login --disabled-password prosody-filer

Switch to the new user:

su - prosody-filer

Copy

* the binary ```prosody-fiter``` and
* the binary ```prosody-filer``` and
* config ```config.example.toml```

to ```/home/prosody-filer/```. Rename the configuration to ```config.toml```.


### Configure Prosody

Make sure mod_http_upload is **dis**abled and mod_http_upload_external is **en**abled! Then configure the external upload module:
Back in your root shell make sure ```mod_http_upload``` is **dis**abled and ```mod_http_upload_external``` is **en**abled! Then configure the external upload module:

```
http_upload_external_base_url = "https://uploads.myserver.tld/upload/"
Expand Down

0 comments on commit a221412

Please sign in to comment.