Hi James, thanks a lot for your input.
Yes, although I wanted to use authbind with pm2 but it seems impossible with no documentation and open issues with no responses.
I've been trying to do something like this where I installed nginx and set up the configuration, but got stuck at the last step where I need to reload Nginx but when I need to run or reload it for the config to be updated.
$ sudo nginx -s reload
nginx: [error] invalid PID number "" in "/run/nginx.pid"
Some of the commands are different because of the different Ubuntu installations. I will check out the link you mentioned and get back to you 🙏
I wouldn't have found that page of documentation with that title. Now I learned yet another method of solving this particular problem 😄
Thanks a lot for taking the time to help James!
I ended up using Apache and configuring virtual hosts to redirect the traffic, because I couldn't find any complete Nginx tutorials! The Apache method is dead simple and I'm surprised I didn't come across it in my research.
Cheers!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi James, thanks a lot for your input.
Yes, although I wanted to use authbind with pm2 but it seems impossible with no documentation and open issues with no responses.
I've been trying to do something like this where I installed nginx and set up the configuration, but got stuck at the last step where I need to reload Nginx but when I need to run or reload it for the config to be updated.
Some of the commands are different because of the different Ubuntu installations. I will check out the link you mentioned and get back to you 🙏
Update: Site is up and running!
I wouldn't have found that page of documentation with that title. Now I learned yet another method of solving this particular problem 😄
Thanks a lot for taking the time to help James!
Excellent! Out of interest did you use Nginx in the end or Apache?
Glad it's working for you now.
I ended up using Apache and configuring virtual hosts to redirect the traffic, because I couldn't find any complete Nginx tutorials! The Apache method is dead simple and I'm surprised I didn't come across it in my research.
Cheers!