--- name: nginx releases: - name: nginx version: latest instance_groups: - name: nginx instances: 1 vm_type: default azs: [z1] stemcell: trusty networks: - name: public static_ips: [<%= @private_subnet[13] %>] default: [dns, gateway] jobs: - name: nginx release: nginx properties: nginx_conf: | worker_processes 1; error_log /var/vcap/sys/log/nginx/error.log info; events { worker_connections 1024; } http { include /var/vcap/packages/nginx/conf/mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server_names_hash_bucket_size 64; server { server_name kite-nginx; location / { proxy_pass http://<%= @private_subnet[13] %>; # Concourse web panel IP proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; } access_log /var/vcap/sys/log/nginx/kite-access.log; error_log /var/vcap/sys/log/nginx/kite-error.log; } } stemcells: - alias: trusty os: ubuntu-trusty version: latest update: canaries: 1 max_in_flight: 1 serial: false canary_watch_time: 1000-60000 update_watch_time: 1000-60000