mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Correcting nginx in haproxy.
This commit is contained in:
parent
155f9561db
commit
883cf8005f
2 changed files with 5 additions and 1 deletions
|
@ -22,3 +22,7 @@
|
|||
dest: /etc/consul.d/nginx.json
|
||||
notify:
|
||||
- reload consul
|
||||
|
||||
- name: Restart nginx
|
||||
become: yes
|
||||
command: docker restart nginx
|
||||
|
|
|
@ -77,7 +77,7 @@ backend nginx
|
|||
balance roundrobin
|
||||
option httpchk GET /_nginxchk
|
||||
http-check expect rstatus 200|503
|
||||
server-template nginx 5 _app-django._tcp.service.nyc1.consul:80 check inter 3000ms resolvers consul resolve-opts allow-dup-ip
|
||||
server-template nginx 5 _nginx._tcp.service.nyc1.consul:80 check inter 3000ms resolvers consul resolve-opts allow-dup-ip
|
||||
|
||||
backend app_django
|
||||
balance roundrobin
|
||||
|
|
Loading…
Add table
Reference in a new issue