forked from fediversity/fediversity
Compare commits
No commits in common. "6da6cc678ae0eaae50ae6377e2c8a9c847defef3" and "e620a56ab47726f934fe20efbabc8c0ac94660b2" have entirely different histories.
6da6cc678a
...
e620a56ab4
2 changed files with 5 additions and 6 deletions
|
|
@ -39,7 +39,7 @@ in
|
||||||
_class = "nixos";
|
_class = "nixos";
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
# ./forgejo-actions-runner.nix
|
./forgejo-actions-runner.nix
|
||||||
./woodpecker.nix
|
./woodpecker.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@
|
||||||
woodpecker-agent-docker = { };
|
woodpecker-agent-docker = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.nginx.extraGroups = [ "acme" ];
|
|
||||||
|
|
||||||
age.secrets =
|
age.secrets =
|
||||||
lib.mapAttrs
|
lib.mapAttrs
|
||||||
(_: group: {
|
(_: group: {
|
||||||
|
|
@ -177,7 +175,10 @@
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
virtualHosts."woodpecker.fediversity.eu" = {
|
virtualHosts."woodpecker.fediversity.eu" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
# forceSSL = true;
|
forceSSL = true;
|
||||||
|
locations."/.well-known/acme-challenge/" = {
|
||||||
|
root = "/var/lib/acme/woodpecker.fediversity.eu";
|
||||||
|
};
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyPass = "http://127.0.0.1:8000";
|
proxyPass = "http://127.0.0.1:8000";
|
||||||
|
|
@ -210,8 +211,6 @@
|
||||||
22
|
22
|
||||||
80
|
80
|
||||||
443
|
443
|
||||||
8000
|
|
||||||
9000
|
|
||||||
];
|
];
|
||||||
# needed for podman to be able to talk over dns
|
# needed for podman to be able to talk over dns
|
||||||
interfaces."podman+" = {
|
interfaces."podman+" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue