mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Adding in node_page to haproxy to reroute dashboard3 to the correct server. This is corrected in dashboard3 with consul.
This commit is contained in:
parent
c3158a2ea2
commit
20b3d24d09
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,7 @@ frontend public
|
|||
use_backend node_socket3 if { path_beg /v3/socket.io/ }
|
||||
use_backend node_favicon if { path_beg /rss_feeds/icon/ }
|
||||
use_backend node_text if { path_beg /rss_feeds/original_text_fetcher }
|
||||
use_backend node_page if { path_beg /original_page/ }
|
||||
use_backend nginx if { path_beg /media/ }
|
||||
use_backend nginx if { path_beg /static/ }
|
||||
use_backend nginx if { path_beg /favicon }
|
||||
|
@ -96,6 +97,12 @@ backend node_text
|
|||
balance roundrobin
|
||||
{{ node_text }}
|
||||
|
||||
backend node_page
|
||||
http-check expect rstatus 200|503
|
||||
# option httpchk GET /original_page/1?test=1
|
||||
balance roundrobin
|
||||
server search01 db_pages:3060 # check inter 2000ms
|
||||
|
||||
backend self
|
||||
balance roundrobin
|
||||
option httpchk GET /_nginxchk
|
||||
|
|
Loading…
Add table
Reference in a new issue