Add forgejo to caddyfile

This commit is contained in:
xqtc161 2024-05-16 19:06:02 +02:00
parent 692f64fe65
commit 1d79b1c965
2 changed files with 10 additions and 0 deletions

View file

@ -40,15 +40,22 @@ with lib; {
root * /var/www/demos/ root * /var/www/demos/
file_server browse file_server browse
} }
git.heroin.trade {
reverse_proxy http://localhost:3001
}
jellyfin.heroin.trade { jellyfin.heroin.trade {
reverse_proxy http://127.0.0.1:8096 reverse_proxy http://127.0.0.1:8096
} }
calibre.heroin.trade { calibre.heroin.trade {
reverse_proxy http://localhost:3000 reverse_proxy http://localhost:3000
} }
grafana.heroin.trade { grafana.heroin.trade {
reverse_proxy http://127.0.0.1:2342 reverse_proxy http://127.0.0.1:2342
} }
uptime.heroin.trade { uptime.heroin.trade {
reverse_proxy 127.0.0.1:3001 reverse_proxy 127.0.0.1:3001
} }

View file

@ -2,5 +2,8 @@
{ {
services.forgejo = { services.forgejo = {
enable = true; enable = true;
settings.server = {
HTTP_PORT = 3001;
};
}; };
} }