nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument
That warning with the nginx.pid file is a know bug (at least for Ubutnu if not for other distros as well). More details here: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864 Workaround (on a ssh console, as root, use the commands bellow): mkdir /etc/systemd/system/nginx.service.d printf “[Service]\nExecStartPost=/bin/sleep 0.1\n” > /etc/systemd/system/nginx.service.d/override.conf systemctl daemon-reload systemctl restart nginx Then check if you still see that … Read more