fixed ipv6 on cirrus, fixed remote backups on cirrostratus.
This commit is contained in:
parent
084e4ca421
commit
31d93e3770
6 changed files with 11 additions and 18 deletions
|
|
@ -100,7 +100,8 @@
|
|||
htpasswd-file = cfg.server.htpasswdPath;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts =
|
||||
#Restic submits some huge requests sometimes.
|
||||
services.nginx =
|
||||
lib.mkIf (
|
||||
cfg.server.enable
|
||||
&& (lib.asserts.assertMsg
|
||||
|
|
@ -108,7 +109,8 @@
|
|||
"NGINX must be enabled")
|
||||
)
|
||||
{
|
||||
"${cfg.server.domain}" = {
|
||||
clientMaxBodySize = "1000m";
|
||||
virtualHosts."${cfg.server.domain}" = {
|
||||
enableACME = lib.asserts.assertMsg (
|
||||
config.security.acme.acceptTerms
|
||||
== true
|
||||
|
|
@ -131,6 +133,7 @@
|
|||
paths = null;
|
||||
timerConfig = timer;
|
||||
pruneOpts = pruneOpts;
|
||||
user = "restic";
|
||||
};
|
||||
})
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue