From: nutra-bot Date: Sun, 3 Jul 2022 18:17:15 +0000 (+0000) Subject: put react back to root, not alias, hmmm X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=1d7413c44582e15c70bc61e8b848efbef31a2c8f;p=nutratech%2Fvps-root.git put react back to root, not alias, hmmm --- diff --git a/etc/nginx/sites-available/default b/etc/nginx/sites-available/default index c61f2d3..b4bb4df 100644 --- a/etc/nginx/sites-available/default +++ b/etc/nginx/sites-available/default @@ -13,7 +13,7 @@ server { # React app (base URL) location / { - alias /var/www/react_app; + root /var/www/react_app; index index.html; try_files $uri $uri/ /index.html =404; }