I am having trouble to service two react app with nginX.
However I try to call mySiteURL/admin route, it keeps showing mySiteURL
Here is my config file.
location / {
root /var/www/html/recipetube-client/build;
try_files $uri /index.html;
}
location /admin {
root /var/www/html/recipe-tube-admin/build;
try_files $uri /index.html;
}
How can I change my config to be able to serve two react app on one sever.