@dev Post your config you are using for nginx and config.json. It should be obvious when we can see them.
Nodebb custom theme git push
since node module folder is in gitignore how will custom theme changes be pushed in branch? because when I run git status no file changes are shown but in fact I have modified css and fonts.
You should have the theme in it's own git repository, then pull and link that repository into node_modules when you deploy.