Skip to content
albanmartel edited this page May 6, 2014 · 1 revision

S3 Proxy

The S3 Proxy can be used to buffer requests that need to be sent to SYNTHESE, so that the caller won’t be blocked while waiting for the SYNTHESE response.

Administration interface

Access the proxy with the URL:

http://SERVER_NAME:9080/status

You will need to enter the password configured below if you want to run administrative commands.

Installation

The binary s3-proxy is shipped with SYNTHESE.

The usual way to run it is to create a supervisor configuration like:


[program:synthese-proxy]
user=synthese
command=/opt/synthese/bin/./s3-proxy —port 9080 —target http://localhost:8080 —password tl123proxy
  1. Quotes are required due to a bug in 3.0a8:
  2. http://lists.supervisord.org/pipermail/supervisor-users/2010-March/000539.html
    environment=HOME=‘/home/synthese’,USER=‘synthese’
    redirect_stderr=true

Option

When run s3-proxy accepts the following parameters:

  • --s3_proxy_port: The default proxy port is 9080.
  • --queue_size: By default the proxy queue size is 1.
  • --target: The target URL to redirect requests to.
  • --password: The administrative password
Clone this wiki locally