Use refresh servers if auto-loading dashboard.

This commit is contained in:
Samuel Clay 2021-07-02 08:43:16 -04:00
parent dd9de64b29
commit 9ad1fb4739

View file

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