]> Nutra Git (v1) - nutratech/vps-root.git/commitdiff
working config for all 3 services
authornutra-bot <nutradigest@gmail.com>
Tue, 28 Jun 2022 19:31:38 +0000 (19:31 +0000)
committernutra-bot <nutradigest@gmail.com>
Tue, 28 Jun 2022 19:31:38 +0000 (19:31 +0000)
etc/nginx/sites-available/default

index fad1a6373a3bd641d54660ffdaf65fc645c9ba71..f18f07a4e856c4cfe28bab6622df1ff5d4613520 100644 (file)
@@ -12,7 +12,7 @@ server {
 
   # React app (base URL)
   location / {
-    root   /usr/share/nginx/html;
+    root /var/www/react_app;
     index  index.html index.htm;
     try_files $uri $uri/ /index.html =404;
   }