Check the docs for a list of steps: https://docs.nodebb.org/en/latest/configuring/proxies/nginx.html Also change location / to location ~^/