mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Use refresh servers if auto-loading dashboard.
This commit is contained in:
parent
dd9de64b29
commit
9ad1fb4739
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ frontend public
|
|||
acl mx_mode nbsrv(maintenance) lt 1
|
||||
acl is_unread_count url_beg /reader/feed_unread_count
|
||||
acl is_refresh_feeds url_beg /reader/refresh_feed
|
||||
acl is_dashboard query -m dashboard
|
||||
|
||||
monitor-uri /status
|
||||
monitor fail if gunicorn_dead
|
||||
|
@ -77,6 +78,7 @@ frontend public
|
|||
|
||||
use_backend app_counts if is_unread_count
|
||||
use_backend app_refresh if is_refresh_feeds
|
||||
use_backend app_refresh if is_dashboard
|
||||
use_backend app_django unless gunicorn_dead || nginx_dead
|
||||
|
||||
backend nginx
|
||||
|
|
Loading…
Add table
Reference in a new issue