It may be that your system has been upgraded from an earlier Ubuntu version and some of its config/service files have desync'd from correct defaults, but to check this we'll need to look at some of these files. To the best of my knowledge, just running `systemctl enable nginx` as you've done should be enough to get it starting on boot, so I'm guessing there's some other missing config.
Please attach the following to this bug report: /lib/systemd/system/nginx.service /etc/nginx/nginx.conf Output of `dpkg -l | grep -i nginx` Output of `sudo journalctl -u nginx` Output of `sudo nginx -t` I *think* that should provide enough info to figure out what's going on. If there are any other logs or config files you notice while collecting these that look relevant, please include them as well. The fix is likely going to be some tweak to your nginx.service file. If you'd like to tinker directly, you might find LP: #1818574 of interest; it's a slightly different problem but probably a similar fix. There's some good systemd configuration guides on the web you can refer to for ideas. Otherwise, add the above files here and one of us will take a look. ** Changed in: nginx (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850272 Title: nginx wont be started To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1850272/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs