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