From 1d7413c44582e15c70bc61e8b848efbef31a2c8f Mon Sep 17 00:00:00 2001 From: nutra-bot Date: Sun, 3 Jul 2022 18:17:15 +0000 Subject: [PATCH] put react back to root, not alias, hmmm --- etc/nginx/sites-available/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.52.0