Installing and Configuring NGINX on CentOS

preview_player
Показать описание

------------------
Deploying Node playlist:

IMPORTANT
------------------
From 2018 and on, the setup in this video will only work if your SELinux is configured correctly (to allow nginx to connect to Node and to read files from home folder). Otherwise you will be getting "Not Found" and "Permission Denied" errors.

Check out this video if that's what you are experiencing:
Рекомендации по теме
Комментарии
Автор

IMPORTANT

From 2018 and on, the setup in this video will only work if your SELinux is configured correctly (to allow nginx to connect to Node and to read files from home folder). Otherwise you will be getting "Not Found" and "Permission Denied" errors.

Check out this video if that's what you are experiencing:

JuriyBura
Автор

6:45 Yo, dawg! I hear you like including configurations. So I included configurations inside your included configurations. Seriously though, this is an absolutely stellar demonstration. Thank you.

RichardBronosky
Автор

I wish I had seen this video 6 months ago. Having said that, I still learn so many things from your Deploying Node video series. A million thanks Juriy! Please keep on educating.

ShaifulBorhan
Автор

Finally after wandering in whole internet for days your video showed the exact process to do this. Thanks a lot for creating such to the point and working code.

nishchhal
Автор

Very great video!! Congratulations, I was following usin docker, but your instructions where so good that I managed to follow along. Keep up the great work pleas!!

javierlopez
Автор

This guide was like heroin to me, I've been trying to figure this out for hours and you just breezed right through it explaining everything. thank you so much!

jordanfromit
Автор

Thank you so much. Super helpful. Love how you explain the flags for all the commands you use.

purovenezolano
Автор

The plugin you are using in Safari, the one for the Network Stats and requests, used throughout like at 10:27, where does one get that?

mokanamedia
Автор

Hey Juriy great video as usual..

in 7:27 you used localhost because nginx is in the same server as nodejs correct? If Nodejs was on another server would you have used the ip instead?

Question number 2, that being said how can I do this config dynamically? lets say my nodejs is hosted on ip address 192.168.1.100 then I add a new node js server on ip address 192.168.1.101 how can I scale nginx without editing this config file everytime? thanks again!

we miss you here wish you post more videos or just talk randomly about software engineering topics .. btw you can answer this question in another video i think it will be useful as well..

hnasr
Автор

I keep getting this
"Not found" error page
The requested URL was not found on this server.


anyone has a clue?

jiyere
Автор

hello pal, how set a FQDN and a static ip in my RHEL server? Like you have there, can anyone have a link to a tutorial?. Or how can we configure the typical parameters of a RHEL sever after a fresh installation?

soldadopreciso
Автор

Hey Juriy, great video series, i think i've watched every video 3 or 4 times haha. But, did you mean to install and run Nginx as root? would it be "better" to install nginx as non-root user?

sweetjs
Автор

When I am trying to start nginx service its showing error "
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
"

SivaRamachandran
Автор

you didnt showed what is pm2 because i got the error command not found

sushantkoul
Автор

Thank you for your great explanation.. now my nodejs running on nginx like a charm

romeobotviewers
Автор

hi man, thx for the tutorial but when i reach to 9:34 and the error triggers in my page i havent pm2 so i cant start it. is there any other way so i can use my nginx without pm2?

JGlezRg
Автор

*FIRST TIME IN MY LIFE* it worked for me but it error for the youtuber :D
8:25

distro
Автор

Juriy, thanks for these great tutorials! I have a question, can I add database to this configuration? In other words, would I be able to run Postgres, Node, and React all from one server? Would you recommend against it?

josephkim
Автор

Are there any repositories needed instead of EPEL if I'm doing this in Ubuntu 18.04?

paulgonzalez
Автор

This is way good resource ... what to specify in place of server_name if i dont have any domain name. shall i use ip address there instead ?

noordeenm