Delaying start of nginx
Replace the line /etc/systemd/system/multi-user.target.wants/nginx.service in the configuration file Nginx
After=network.target remote-fs.target nss-lookup.target
with
After=network-online.target remote-fs.target nss-lookup.target
Reboot the server and check if Nginx is running:
service nginx status