Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Problems installing Nginx on Ubuntu 18.04
Is seems that I having issues with the step 5. The server fails to restart after sudo nginx -t . https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04#step-5-setting-up-server-blocks-(recommended)
I tried reinstalling NGINX without completing “Step 5 – Setting Up Server Blocks (Recommended)”. I just copy pass my entire web server files in the HTML directory and it works just fine. Is Step 5 really necessary? Is their a better way than Step 5 because obviously this step is buggy and untested?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×