mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 05:14:41 -05:00
feat: firefly-iii test
This commit is contained in:
parent
c712e00d8f
commit
86695b2de2
1 changed files with 13 additions and 4 deletions
|
@ -12,7 +12,7 @@ in
|
|||
services = {
|
||||
firefly-iii = {
|
||||
enable = true;
|
||||
virtualHost = host;
|
||||
virtualHost = "https://${host}";
|
||||
settings = {
|
||||
APP_URL = host;
|
||||
APP_KEY_FILE = config.sops.secrets."${service.name}-key".path;
|
||||
|
@ -27,10 +27,19 @@ in
|
|||
virtualHosts = {
|
||||
"${host}" = {
|
||||
extraConfig = ''
|
||||
redir /.well-known/carddav /remote.php/dav/ 301
|
||||
redir /.well-known/caldav /remote.php/dav/ 301
|
||||
reverse_proxy ${localhost}:${toString service.ports.port0} {
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up X-Forwarded-Host {host}
|
||||
header_up X-Forwarded-Server {host}
|
||||
header_up X-Forwarded-For {remote_host}
|
||||
header_up Host {host}
|
||||
|
||||
reverse_proxy ${localhost}:${toString service.ports.port0}
|
||||
timeout 300s
|
||||
}
|
||||
|
||||
request_body {
|
||||
max_size 64MB
|
||||
}
|
||||
|
||||
tls ${service.ssl.cert} ${service.ssl.key}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue