feat: firefly-iii test

This commit is contained in:
Nick 2025-06-27 03:40:36 -05:00
parent dc644c34ee
commit 7d37f12d3b

View file

@ -13,6 +13,7 @@ in
firefly-iii = {
enable = true;
virtualHost = host;
enableNginx = true;
settings = {
APP_KEY_FILE = config.sops.secrets."${service.name}-key".path;
SITE_OWNER = email.address0;
@ -42,8 +43,7 @@ in
extraConfig = ''
encode gzip
# Proxy to Firefly III (which runs on port 8080 by default)
reverse_proxy localhost:8080 {
reverse_proxy localhost:80 {
header_up Host {host}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
@ -55,7 +55,6 @@ in
dial_timeout 240s
}
# Handle session cookies
@session_cookie header Cookie *session*
handle @session_cookie {
header Cache-Control "no-cache, no-store, must-revalidate"