Thank you
I use Persona theme in version 5.0.11
Edit : I find the code I solved it in my forum and I created Pull request : https://github.com/NodeBB/nodebb-theme-persona/pull/369
I believe you'll need an nginx server block for each domain. In the second domain, use the nginx rewrite directive to change the url, anywhere before the proxy_pass directive.
I just realize that there is already that problem and it was resolved (by wrong search). So, when i did the update, I updated nginx too. So here the post :
https://community.nodebb.org/topic/2062/forwarding-ips-on-nginx-proxy
So it solved.