Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5054

Issues with creating symbolic links and editing nginx config leading to nginx not starting on Linux server

$
0
0

I am following Percival's Obey the Testing Goat tutorial. I have reached chapter 10 and am preparing my code for a production-ready environment.

I have set up a linux server using Digital ocean. I have reached the part where he is asking us to use nginx which I have installed. I have come back to the project today and am facing issues when running sudo systemctl start nginx

Here is the error when I run systemctl status nginx.service

Thank you so much for your help. If you need any more details please let me know :)

EDIT: with some debugging help (see below), I notice it is because I am trying to access a file that does not exist. This is due to issues I faced when trying to create symbolic link between sites-available and sites-enabled. I have since removed staging.XXXX.website file from both locations and am starting from the beginning. You can read the instructions I am following here

So I decided to rewrite the nginx config within server: /etc/nginx/sites-available and now am facing the following error: [ Error writing staging.XXXXXX.website: Permission denied ] when I go to save my config within staging.XXXXX.website file name.

I need this in order to create a symbolic link between sites-available and sites-enabled so I can continue with this super awesome tutorial.

Any pointers or links I can read are VERY gratefully received. Thank you <3


Viewing all articles
Browse latest Browse all 5054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>