Add retention period and fix ssl settings
Some checks failed
Buill NixOS Configurations / Explore-Forgejo-Actions (carbon) (push) Successful in 27s
Buill NixOS Configurations / Explore-Forgejo-Actions (git) (push) Successful in 29s
Buill NixOS Configurations / Explore-Forgejo-Actions (gospel) (push) Failing after 7s
Buill NixOS Configurations / Explore-Forgejo-Actions (node) (push) Successful in 24s
Some checks failed
Buill NixOS Configurations / Explore-Forgejo-Actions (carbon) (push) Successful in 27s
Buill NixOS Configurations / Explore-Forgejo-Actions (git) (push) Successful in 29s
Buill NixOS Configurations / Explore-Forgejo-Actions (gospel) (push) Failing after 7s
Buill NixOS Configurations / Explore-Forgejo-Actions (node) (push) Successful in 24s
This commit is contained in:
parent
3cbedf9e52
commit
014d970fe4
1 changed files with 5 additions and 4 deletions
|
|
@ -38,6 +38,7 @@ in
|
|||
allowed_hosts = "attic.kilonull.com";
|
||||
api_endpoint = "https://attic.kilonull.com/";
|
||||
listen = "[::]:8080";
|
||||
garbage_collection.retention_period = "30d";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -46,11 +47,11 @@ in
|
|||
virtualHosts."attic.kilonull.com" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8080";
|
||||
}
|
||||
// lib.optionalAttrs (cfg.acmeCertName != "") {
|
||||
forceSSL = true;
|
||||
useACMEHost = cfg.acmeCertName;
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs (cfg.acmeCertName != "") {
|
||||
forceSSL = true;
|
||||
useACMEHost = cfg.acmeCertName;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue