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
99c40c5362
commit
f9f4b8b8ec
1 changed files with 6 additions and 2 deletions
|
|
@ -71,7 +71,10 @@ in
|
|||
|
||||
encode gzip
|
||||
|
||||
php_fastcgi unix//run/phpfpm/firefly-iii.sock
|
||||
php_fastcgi unix//run/phpfpm/firefly-iii.sock {
|
||||
env SERVER_NAME {http.request.header.X-Forwarded-Host}
|
||||
env HTTPS on
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
@ -241,9 +244,10 @@ in
|
|||
services.caddy.virtualHosts."${host}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy http://${serviceCfg.interface.ip}:80 {
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up X-Forwarded-Proto https
|
||||
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