diff options
-rw-r--r-- | machines/jormungand/nginx.nix | 2 | ||||
-rw-r--r-- | profiles/miniflux.nix | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/machines/jormungand/nginx.nix b/machines/jormungand/nginx.nix index 87cd154..2f64726 100644 --- a/machines/jormungand/nginx.nix +++ b/machines/jormungand/nginx.nix @@ -227,7 +227,7 @@ in { forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://127.0.0.1:8081/"; + proxyPass = "http://[::1]:8081/"; }; }; diff --git a/profiles/miniflux.nix b/profiles/miniflux.nix index 49d567c..1fe8961 100644 --- a/profiles/miniflux.nix +++ b/profiles/miniflux.nix @@ -8,7 +8,11 @@ config = { POLLING_SCHEDULER = "entry_frequency"; CLEANUP_ARCHIVE_READ_DAYS = "30"; - LISTEN_ADDR = "localhost:8081"; + LISTEN_ADDR = "[::1]:8081"; + WORKER_POOL_SIZE = "2"; + POLLING_FREQUENCY = "180"; + BATCH_SIZE = "3"; + SCHEDULER_ENTRY_FREQUENCY_MAX_INTERVAL = "10080"; # 7*24*60 = 7d }; adminCredentialsFile = "/etc/nixos/secrets/miniflux"; }; @@ -23,6 +27,7 @@ "/etc/hosts" ]; DynamicUser = lib.mkForce false; + User = "miniflux"; # prestart inits the db, only needed the first time and conflicts with confinement ExecStartPre = lib.mkForce ""; }; |