danmanners / homelab-deployment

All of the code to make sure that my homelab can be deployed simply and easily.
7 stars 1 forks source link

NGINX does not start after a server restart #5

Open danmanners opened 4 years ago

danmanners commented 4 years ago

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, run sudo systemctl daemon-reload && sudo systemctl start nginx and it will work.