Skip to content

nginx job from shield/6.1.0

Github source: c014b267 or master branch

Properties

nginx

keepalive_timeout

Timeout for keep-alive connections

Default
75 20

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

ssl_crt

SSL Certificate (PEM encoded)

ssl_key

SSL private key (PEM encoded)

ssl_timeout

Timeout for reusing the previously negotiated cryptographic parameters

Default
7200

worker_connections

Number of nginx connections per worker

Default
8192

worker_processes

Number of nginx workers

Default
2

shield

daemon

domain

Hostname/IP SHIELD is accessed with

http_port

Port non-encrypted traffic should listen on. Redirects to https_port

Default
80
port

Port to listen on for encrypted traffic

Default
443

Templates

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

  • bin/nginx_ctl (from nginx_ctl)
  • config/mime.types (from mime.types)
  • config/nginx.conf (from nginx.conf.erb)
  • config/ssl_crt (from ssl_crt.erb)
  • config/ssl_key (from ssl_key.erb)

Packages

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