]> Nutra Git (v2) - nutratech/vps-root.git/commitdiff
put react back to root, not alias, hmmm
authornutra-bot <nutradigest@gmail.com>
Sun, 3 Jul 2022 18:17:15 +0000 (18:17 +0000)
committernutra-bot <nutradigest@gmail.com>
Sun, 3 Jul 2022 18:17:15 +0000 (18:17 +0000)
etc/nginx/sites-available/default

index c61f2d3971b8961164c1e91ed0befedc283990af..b4bb4df936b2a83a60c453c6b806f050cb978e34 100644 (file)
@@ -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;
   }