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";
|
||||
|
||||
imports = [
|
||||
./forgejo-actions-runner.nix
|
||||
# ./forgejo-actions-runner.nix
|
||||
./woodpecker.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@
|
|||
woodpecker-agent-docker = { };
|
||||
};
|
||||
|
||||
users.users.nginx.extraGroups = [ "acme" ];
|
||||
|
||||
age.secrets =
|
||||
lib.mapAttrs
|
||||
(_: group: {
|
||||
|
|
@ -175,10 +177,7 @@
|
|||
recommendedTlsSettings = true;
|
||||
virtualHosts."woodpecker.fediversity.eu" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/.well-known/acme-challenge/" = {
|
||||
root = "/var/lib/acme/woodpecker.fediversity.eu";
|
||||
};
|
||||
# forceSSL = true;
|
||||
locations."/" = {
|
||||
recommendedProxySettings = true;
|
||||
proxyPass = "http://127.0.0.1:8000";
|
||||
|
|
@ -211,6 +210,8 @@
|
|||
22
|
||||
80
|
||||
443
|
||||
8000
|
||||
9000
|
||||
];
|
||||
# needed for podman to be able to talk over dns
|
||||
interfaces."podman+" = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue