Easily configure a performant, secure, and stable NGINX server.Learn More
How to set up server blocks for docker droplet?
when trying to set up server blocks following the 2nd set of instructions, every time i get to sudo
systemctl restart nginx i get the following error:
Job for nginx.service failed because the control process exited with error code.
Since my droplet is a web app running off an app in a docker conatainer, i won’t have any html files to add or any pages to my site. should i be setting up the server block differently than in the example?
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.×