I have a simple react application and I have some problem with my locations nginx configuration
location /dpo-portal/ {
proxy_pass http://dpo-portal:5000/;
}
location /dpo-portal2/ {
set $dpo dpo-portal:5000;
proxy_pass http://$dpo/;
}
It seems that JS isn't load with dpo-portal2,
I would like to understand when i use a variable if I have to add some configuration