mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: firefly-iii test
This commit is contained in:
parent
dc644c34ee
commit
7d37f12d3b
1 changed files with 2 additions and 3 deletions
|
@ -13,6 +13,7 @@ in
|
||||||
firefly-iii = {
|
firefly-iii = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHost = host;
|
virtualHost = host;
|
||||||
|
enableNginx = true;
|
||||||
settings = {
|
settings = {
|
||||||
APP_KEY_FILE = config.sops.secrets."${service.name}-key".path;
|
APP_KEY_FILE = config.sops.secrets."${service.name}-key".path;
|
||||||
SITE_OWNER = email.address0;
|
SITE_OWNER = email.address0;
|
||||||
|
@ -42,8 +43,7 @@ in
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
# Proxy to Firefly III (which runs on port 8080 by default)
|
reverse_proxy localhost:80 {
|
||||||
reverse_proxy localhost:8080 {
|
|
||||||
header_up Host {host}
|
header_up Host {host}
|
||||||
header_up X-Real-IP {remote_host}
|
header_up X-Real-IP {remote_host}
|
||||||
header_up X-Forwarded-For {remote_host}
|
header_up X-Forwarded-For {remote_host}
|
||||||
|
@ -55,7 +55,6 @@ in
|
||||||
dial_timeout 240s
|
dial_timeout 240s
|
||||||
}
|
}
|
||||||
|
|
||||||
# Handle session cookies
|
|
||||||
@session_cookie header Cookie *session*
|
@session_cookie header Cookie *session*
|
||||||
handle @session_cookie {
|
handle @session_cookie {
|
||||||
header Cache-Control "no-cache, no-store, must-revalidate"
|
header Cache-Control "no-cache, no-store, must-revalidate"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue