(without these two lines you will get errors when you try to display the main page because Apache adds "index.html" by default to the request which gets then handled by Nodebb because of the two lines below these first two - but there is no index.html to handle because of the way Nodebb is built)
NC = ignore case
P = proxy, so that it is invisible to the user (they don't see the :4567)
L = last rule, we stop if match is found
Third line matches only your host without the trailing /somepage.html or /images/someimage.png or what ever. And the last line replaces that with some.example.com:4567/ and adds the rest of the address with $1
This is rather useful if you are already running other websites besides the Nodebb forums with Apache on the same server. Because if you use the instructions in the documentation for ProxyPass you will get all of your web traffic rerouted with that configuration (unless you are running Nodebb from a subfolder, I think?)
I've been playing around with a new template and when view posts on a topic, I've managed to get it to colour the user's name with the same colour as the selected group as per their profile.
Do you know how I can do this with the lastpost.tpl on category view? I've tried to do it the same way as I do with the post view, however when I look for the selectedGroup/selectedGroups array, I can't find it.