gitea: listen on 3001
This commit is contained in:
parent
1b6c35ed76
commit
9740b42493
1
data.nix
1
data.nix
@ -9,6 +9,7 @@ rec {
|
||||
|
||||
ports = {
|
||||
grafana = 3000;
|
||||
gitea = 3001;
|
||||
prometheus = 9001;
|
||||
exporters = {
|
||||
node = 9002;
|
||||
|
@ -45,7 +45,7 @@
|
||||
LANDING_PAGE = "/motiejus";
|
||||
ROOT_URL = "https://git.jakstys.lt";
|
||||
HTTP_ADDR = "127.0.0.1";
|
||||
HTTP_PORT = 3000;
|
||||
HTTP_PORT = myData.ports.gitea;
|
||||
DOMAIN = "git.jakstys.lt";
|
||||
};
|
||||
service = {
|
||||
@ -74,7 +74,7 @@
|
||||
|
||||
caddy = {
|
||||
virtualHosts."git.jakstys.lt".extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:3000
|
||||
reverse_proxy 127.0.0.1:${toString myData.ports.gitea}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user