varnish config
-
# NodeBB if (req.http.host == "forum.yourwebsite.com") { # change this to match your host if (req.url ~ "^/socket.io/") { set req.backend = nodebb; return (pipe); # return pass seems not working for websockets } return (pass); # don't cache }
Configuration that you have suggested, is not a good configuration because everything will be pass.
Who knows a better configuration? -
@sanatisharif where is this from?
-
@PitaJ said in varnish config:
@sanatisharif where is this from?
@julian said in varnish config:
Might be from our docs... @trevor wrote one up awhile back, so it probably needs some tweaking.
https://docs.nodebb.org/en/latest/configuring/proxies/varnish.html
Copyright © 2024 NodeBB | Contributors