Skip to content

sslproxy job from sslproxy/4

Github source: 4e37826c or master branch

Properties

router

port

Router port

Default
80

servers

Array of router addresses

sslproxy

http

enabled

Enable/Disable HTTP requests (true/false)

Default
true
port

Port that proxy listen on for HTTP connections

Default
80

https

port

Port that proxy listen on for HTTPS connections

Default
443
ssl_cert

SSL Certificate (PEM encoded)

ssl_key

SSL private key (PEM encoded)

ssl_timeout

Timeout for reusing the previously negotiated cryptographic parameters

Default
7200

internal_redirect

enabled

Enable/Disable internal redirects (X-Accel-Redirect)

Default
false

keepalive_timeout

Timeout for keep-alive connections

Default
75 20

max_upload_size

File upload maximum size

Default
5000m

proxy_connect_timeout

Timeout for the connection to the upstream server

Default
300

proxy_read_timeout

Timeout for read queries to the upstream server

Default
120

proxy_send_timeout

Timeout for send queries to the upstream server

Default
120

worker_connections

Number of nginx connections per worker

Default
8192

worker_processes

Number of nginx workers

Default
2

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/sslproxy/ directory (learn more).

  • bin/nginx_ctl (from nginx_ctl)
  • config/location.conf (from location.conf.erb)
  • config/location.internal_redirect.conf (from location.internal_redirect.conf.erb)
  • config/mime.types (from mime.types)
  • config/nginx.conf (from nginx.conf.erb)
  • config/sslproxy.key (from sslproxy.key.erb)
  • config/sslproxy.pem (from sslproxy.pem.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.