Open danmanners opened 4 years ago
See Here for more details.
On Ubuntu 18.04, add the line RuntimeDirectory=nginx to the file /lib/systemd/system/nginx.service. Once that is completed, run sudo systemctl daemon-reload && sudo systemctl start nginx and it will work.
RuntimeDirectory=nginx
/lib/systemd/system/nginx.service
sudo systemctl daemon-reload && sudo systemctl start nginx
Open Issue: NGINX does not start correctly after a system reboot.
See Here for more details.
Current Fix
On Ubuntu 18.04, add the line
RuntimeDirectory=nginx
to the file/lib/systemd/system/nginx.service
. Once that is completed, runsudo systemctl daemon-reload && sudo systemctl start nginx
and it will work.