I install Nginx mainline version from Nginx's officel Repo.
PHP 7.2 FPM from packages.sury.org.
In order to let the unattended upgrades do the work for me.
- I add /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Origins-Pattern {
...
"origin=nginx,label=nginx";
"site=packages.sury.org";
};
- Testing it out
# unattended-upgrade --debug --dry-run
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['origin=Debian,codename=stretch,label=Debian-Security', 'origin=nginx,label=nginx', 'site=packages.sury.org']
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
fetch.run() result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals
No comments:
Post a Comment