mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
feat: spun up firefly-iii
This commit is contained in:
parent
f0aa2b0ebe
commit
99c40c5362
1 changed files with 1 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ in
|
|||
MAIL_PASSWORD_FILE = "/etc/firefly-secrets/smtp";
|
||||
MAIL_ENCRYPTION = "tls";
|
||||
SITE_OWNER = email.address2;
|
||||
TRUSTED_PROXIES = "**";
|
||||
TRUSTED_PROXIES = "*";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -241,13 +241,9 @@ in
|
|||
services.caddy.virtualHosts."${host}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy http://${serviceCfg.interface.ip}:80 {
|
||||
header_up Host {host}
|
||||
header_up X-Real-IP {remote}
|
||||
header_up X-Forwarded-For {remote}
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up X-Forwarded-Host {host}
|
||||
}
|
||||
|
||||
tls ${serviceCfg.ssl.cert} ${serviceCfg.ssl.key}
|
||||
|
||||
encode zstd gzip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue