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
fe1e553299
commit
a3b732bd6d
1 changed files with 9 additions and 9 deletions
|
@ -26,14 +26,14 @@ in
|
||||||
|
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# virtualHosts.${config.services.firefly-iii.virtualHost} = {
|
virtualHosts.${config.services.firefly-iii.virtualHost} = {
|
||||||
# listen = [
|
listen = [
|
||||||
# {
|
{
|
||||||
# addr = "0.0.0.0";
|
addr = "0.0.0.0";
|
||||||
# port = 8080;
|
port = 8080;
|
||||||
# }
|
}
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
caddy = {
|
caddy = {
|
||||||
|
@ -42,7 +42,7 @@ in
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
reverse_proxy localhost:80 {
|
reverse_proxy http://localhost:${toString config.services.firefly-iii.settings.APP_PORT} {
|
||||||
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}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue