Skip to content

nginx job from prometheus/12.1.0

Github source: 2082fcb2 or master branch

Properties

nginx

alertmanager

auth_password

Alertmanager auth password

auth_username

Alertmanager auth username

http_port

Port that proxy will listen on for Alertmanager HTTP connections

Default
9093
https_port

Port that proxy will listen on for Alertmanager HTTPS connections

Default
19093
path

Alertmanager path

Default
/

grafana

auth_password

Grafana auth password

auth_username

Grafana auth username

http_port

Port that proxy will listen on for Grafana HTTP connections

Default
3000
https_port

Port that proxy will listen on for Grafana HTTPS connections

Default
13000
path

Grafana path

Default
/

keepalive_timeout

Timeout for keep-alive connections

Default
7200

max_upload_size

File upload maximum size

Default
5000m

prometheus

auth_password

Prometheus auth password

auth_username

Prometheus auth username

http_port

Port that proxy will listen on for Prometheus HTTP connections

Default
9090
https_port

Port that proxy will listen on for Prometheus HTTPS connections

Default
19090
path

Prometheus path

Default
/

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_cert

SSL Certificate (PEM encoded)

ssl_ciphers

Enable ciphers

Default
ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:HIGH:!MD5:!aNULL:!EDH

ssl_key

SSL private key (PEM encoded)

ssl_only

Enable only HTTPS requests

Default
false

ssl_protocols

Enable protocols

Default
TLSv1 TLSv1.1 TLSv1.2

ssl_session_cache

Types and sizes of caches that store session parameters

Default
shared:SSL:10m

ssl_session_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

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 bin/nginx_ctl)
  • config/alertmanager_location.conf (from config/alertmanager_location.conf)
  • config/grafana_location.conf (from config/grafana_location.conf)
  • config/nginx.conf (from config/nginx.conf)
  • config/prometheus_location.conf (from config/prometheus_location.conf)
  • config/ssl_cert.pem (from config/ssl_cert.pem)
  • config/ssl_key.pem (from config/ssl_key.pem)

Packages

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