Nginx problem
-
@pitaj
https://docs.nodebb.org/configuring/proxies/nginx/
I'm always restarting nginx. Main nginx config in /etc/nginx/ . I'm on Ubuntu 16.04. -
And why i can't create new topic? Just no effect when i click on "new topic"
-
wtf guys :C
-
@evgeniy-onegin can you screenshot what happens when you visit at port 80?
-
@evgeniy-onegin is this on 4567 or port 80?
-
@evgeniy-onegin said in Nginx problem:
@pitaj 4567. When i try to connect without 4567 port in address bar browser return - ERR_CONNECTION_REFUSED:
In the browser console? It's because socket.io restricts the origin to only port 80. You can bypass it with
./nodebb stop && ./nodebb dev
for testing purposes. -
In the browser console? - No, just error page.
-
@evgeniy-onegin please, take screenshots.
-
@PitaJ @floufille Lmao guys, the problem was in the browser... For some reason he did not let me to site. >< (Yandex browser)
-
I suspect nginx is not started, or not bind the http port.
What did you see in : /var/log/nginx/error.log and /var/log/nginx/access.log
when you try to restart nginx and when you try to access to the siteDo you have a firewall which can block the http port ?
Do you see the http port binded by nginx with lsof command ?
Do you see nginx started with ps command ?
-
now all is working