@julian -- Hi Julian, I did, if nodebb running only with nginx then that problem gone, but anothe issue come up, which is relevant to https://github.com/designcreateplay/NodeBB/issues/1540. So its fine. Now I know that Varnish cause this, anyway to figure out why Varnish causing this problem?
dolphy
Posts
-
Nodebb + nginx + varnish problem -
Nodebb + nginx + varnish problemI'm trying to run my first nodebb forum but seem it has some issue with websocket when running with nginx & varnish.
http://forum.tuccauonline.com/socket.io/socket.io.js net::ERR_EMPTY_RESPONSE
Im using Centos 6.5 64bit and node v0.10.28, nodebb v4.0.1, nginx 1.6.0
The following is my config.json:
{
"base_url": "http://forum.tuccauonline.com",
"port": "2000",
"use_port": true,
"secret": "xxxxxxxx-7c61-f",
"bind_address": "8.8.8.8",
"database": "mongo",
"mongo": {
"host": "8.8.8.8",
"port": "8888",
"username": "username",
"password": "password",
"database": "database"
},
"bcrypt_rounds": 12,
"upload_path": "/public/uploads",
"relative_path": ""
}And two other config file for nginx, varnish
http://dolphy.nixtoforge.com/varnish_default.txt
http://dolphy.nixtoforge.com/nginx_conf.txtAnyone had face this issue? Please help