Sha256: 35d73720138f072a6e67871b7b6e3982c8e254a3fbb3f666bddfdea41edd8612

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

---
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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kite-0.1.0 tpl/gcp/deployments/nginx/nginx.yml.erb
kite-0.0.9 tpl/gcp/deployments/nginx/nginx.yml.erb