What does @nodebb location does?
Unsolved
Technical Support
-
I found this:
location @nodebb { proxy_pass http://io_nodes; }
here https://docs.nodebb.org/configuring/scaling/
But not here:
https://docs.nodebb.org/configuring/proxies/nginx/My site is working without that location and I am not sure why is needed.
Which one is correct and what is that for?Thanks
-
It is used when you run nodebb on multiple ports.
-
For what I can see in the forum, this is something old from tryfiles and older nginx config:
https://community.nodebb.org/topic/10228/introducing-the-build-system-in-v1-4-x/22Can someone confirm this is the case and the code:
location ~ ^/forum/assets/(.*) { root /path/to/nodebb/; try_files /build/public/$1 /public/$1 @nodebb; } location ~ ^/forum/plugins/(.*) { root /path/to/nodebb/build/public/; try_files /plugins/$1 @nodebb; }
Is no longer required?
My forum seems to be working fine with the docs nginx file.
Copyright © 2025 NodeBB | Contributors