Improve the foundryvtt service #97

Manually merged
tlater merged 2 commits from tlater/improve-foundry into master 2024-03-13 01:43:56 +00:00
1 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,8 @@ in {
enable = true;
hostName = domain;
minifyStaticFiles = true;
proxySSL = true;
proxyPort = 443;
};
# Want to start it manually when I need it, not have it constantly
@ -33,4 +35,12 @@ in {
proxyPass = "http://localhost:${toString port}";
};
};
services.backups.foundryvtt = {
user = "foundryvtt";
paths = [
config.services.foundryvtt.dataDir
];
pauseServices = ["foundryvtt.service"];
};
}