diff --git a/contrib/systemd/copyparty.example.conf b/contrib/systemd/copyparty.example.conf index 23558a86..a28802b2 100644 --- a/contrib/systemd/copyparty.example.conf +++ b/contrib/systemd/copyparty.example.conf @@ -18,14 +18,14 @@ # (note: enable compression by adding .xz at the end) q, lo: $LOGS_DIRECTORY/%Y-%m%d.log - # url to check against for vulnerable versions (default disabled); setting this will enable automatic - # vulnerability checks. the notification, in case you are running a vulnerable version, is shown on the - # admin panel (/?h) and only for users with admin permissions. you can choose between the value given here, - # or alternatively use https://api.copyparty.eu/security-advisories, or your own custom endpoint - vc-url: https://api.github.com/repos/9001/copyparty/security-advisories + # enable version-checker by uncommenting one of the 'vc-url' lines below; this will + # periodically check if your copyparty version has a known security vulnerability, + # showing a warning on /?h (control-panel) for all users with permission 'a' or 'A' + #vc-url: https://api.github.com/repos/9001/copyparty/security-advisories?per_page=9 + #vc-url: https://api.copyparty.eu/advisories - # how many seconds to wait between vulnerability checks; default is 86400 (= 1 day). - vc-interval: 86400 + vc-age: 3 # how many hours to wait between each version-check + vc-exit # emergency-exit if a version-check indicates that the current version is vulnerable # p: 80,443,3923 # listen on 80/443 as well (requires CAP_NET_BIND_SERVICE) # i: 127.0.0.1 # only allow connections from localhost (reverse-proxies)