forked from fediversity/fediversity
Compare commits
4 commits
e620a56ab4
...
6da6cc678a
| Author | SHA1 | Date | |
|---|---|---|---|
| 6da6cc678a | |||
| b415e5d597 | |||
| 7cfcf39209 | |||
| 2feb245231 |
2 changed files with 6 additions and 5 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,6 +15,8 @@
|
||||||
woodpecker-agent-docker = { };
|
woodpecker-agent-docker = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.nginx.extraGroups = [ "acme" ];
|
||||||
|
|
||||||
age.secrets =
|
age.secrets =
|
||||||
lib.mapAttrs
|
lib.mapAttrs
|
||||||
(_: group: {
|
(_: group: {
|
||||||
|
|
@ -175,10 +177,7 @@
|
||||||
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";
|
||||||
|
|
@ -211,6 +210,8 @@
|
||||||
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