i am following a tutorial
https://medium.com/@nomannayeem/mastering-nginx-a-beginner-friendly-guide-to-building-a-fast-secure-and-scalable-web-server-cb075b423298
it seems that the tutorial instructs me to overwrite the main conf and the default files and i am not sure if i want to do that. can someone tell whats the right way?
#help with nginx
11 messages · Page 1 of 1 (latest)
Would not recommend this guide, overriding the main config file in not how you should do it, at least not on a standard Linux install
Maybe rather this https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu
i dont have the permissions to overwrite the files in ngnix, even with sudo. why is that?
the former guide also skips the part about linking files with sites-enabled
With sudo you should, but you should not do it. ignore the guide you found.
thanks, im using the 2nd guide, but trying to follow the first ones code
Please don't 😂
whats wrong with the first tutorialother than ocerding the main config file?
i set up the nginx server and it is working but i dont know what to do next
The second guide should take you through everything 🙂 And i stoppes reading the first guide when it told you to replace nginx.conf, if they ask you to do that i would not trust anything in the rest of the guide 😂