I use the sso plugin with wordpress and find it cannot log out at the same time. So I found that way. It might a little bit dangerous because it just delete cookie. Is there any other way to log out at same time?
This is my way to logout
Logout wordpress -> Delete Cookie of NodeBB -> return to nodebb homepage
Step 2 : make NodeBB can access this file when logout
When we logout form NodeBB, it send us to /logout and a string.
So I use the nginx as proxy server to access php files. here is my config file of nginx
My knowledge of Varnish is very limited - but don't you have to either pipe Varnish into nginx and then NodeBB or nginx into Varnish and then NodeBB? From your configuration, it seems you're trying to pipe nginx into NodeBB on port 2000 and the same for Varnish. Can Varnish and nginx coexist on the same port?
Here is my working configuration but against, I'm running nginx to Varnish's default port (e.g., 6081).