forgejo working
This commit is contained in:
parent
316eca1442
commit
0fa43af121
|
@ -17,13 +17,13 @@ with lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy = {
|
services.nginx.virtualHosts.${dn} = {
|
||||||
virtualHosts = {
|
forceSSL = true;
|
||||||
"${dn}".extraConfig = ''
|
enableACME = true;
|
||||||
reverse_proxy 127.0.0.1:5000
|
extraConfig = ''
|
||||||
encode gzip
|
client_max_body_size 512M;
|
||||||
'';
|
'';
|
||||||
};
|
locations."/".proxyPass = "http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
|
||||||
};
|
};
|
||||||
# services.gitea-actions-runner = {
|
# services.gitea-actions-runner = {
|
||||||
# package = pkgs.forgejo-actions-runner;
|
# package = pkgs.forgejo-actions-runner;
|
||||||
|
|
|
@ -29,7 +29,8 @@ in
|
||||||
# ../../modules/localai.nix
|
# ../../modules/localai.nix
|
||||||
../../modules/forgejo.nix
|
../../modules/forgejo.nix
|
||||||
../../modules/nextcloud.nix
|
../../modules/nextcloud.nix
|
||||||
# ../../modules/ollama.nix
|
../../modules/ollama.nix
|
||||||
|
../../modules/searx.nix
|
||||||
# ../../pkgs/server.nix
|
# ../../pkgs/server.nix
|
||||||
# ../../pkgs/nextcloud.nix
|
# ../../pkgs/nextcloud.nix
|
||||||
];
|
];
|
||||||
|
@ -117,7 +118,7 @@ in
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults.reloadServices = ["nginx"];
|
defaults.reloadServices = ["nginx"];
|
||||||
certs."tfcconnection.org" = {
|
certs."tfcconnection.org" = {
|
||||||
extraDomainNames = ["*.tfcconnection.org"];
|
# extraDomainNames = ["*.tfcconnection.org"];
|
||||||
};
|
};
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
Loading…
Reference in a new issue