I installed nginx recently, and it is found at /opt/nginx... asking "which nginx" doesn't find nginx, and I can't figure out how to use nginx. I think it's because nginx is installed in the opt directory.
How can I add the opt directory to my paths? Is this even what I want to do?? I just want to be able to run a nginx server locally for development purposes.
Also, is there some document online I can read to understand what is going on better. I know I don't know enough about how this all works, as I'm not a super user of my computer. I'm more of a programmer. BUT - I'd like to learn more, but I don't know where to begin.