502 Bad gateway
-
I have installed nodebb and configured correctly.It works for 20 min and then if i installed any plugin or theme it is showing the following error occurs saying"502 badgateway"
These are my configuration
url accessed to use nodebb"http://explorehowto.com:4567"then in
cd /etc/nginx/sites-available/
sudo nano explorehowto.com
i have inserted the following command
server {
listen 80;server_name explorehowto.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://191.101.6.63:4567/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
}
server {
server_name www.explorehowto.com;
return 301 $scheme://explorehowto.com$request_uri;
} -
i have disabled last 5 activated plugins.But still error shows up.
Does my ./nodebb setup is correct what i have above stated -
Don't mind installed again.
But whenever i am installing it is installing development version and not stable.How to solve it -
@a_5mith
is this right
git clone -b v0.5.x https://github.com/designcreateplay/NodeBB.git .