Browse Source

Added sample config and gitignore

master
Darshil Chanpura 2 years ago
parent
commit
ac21c4146a
  1. 5
      .gitignore
  2. 26
      sample-config.yaml

5
.gitignore

@ -0,0 +1,5 @@
.idea
local.json
/nginx-org-asg*
test.*

26
sample-config.yaml

@ -0,0 +1,26 @@
refresh_interval: 5s
aws:
profile: stage
region: us-east-1
targets:
- name: cookie-sync
group_name: cookie-sync-asg
reference_file: /tmp/reference.json
output_file: /etc/nginx/snippets/autoscaling.conf
format: "server {{.PrivateIPAddress}}:8080;"
health_check:
interval: 10s
response_timeout: 1s
request_method: GET
request_protocol: http
port: 8080
path: /
response_code:
- 200
- 204
- 404
threshold:
healthy: 2
unhealthy: 5
Loading…
Cancel
Save