diff --git a/server-nginx-default b/server-nginx-default index 739a7a0..5186238 100644 --- a/server-nginx-default +++ b/server-nginx-default @@ -38,7 +38,7 @@ server { # # include snippets/snakeoil.conf; - root /var/www/html; + root /home/admin/frontend-customer/dist; # Add index.php to the list if you are using PHP index index.html index.htm index.nginx-debian.html; @@ -48,6 +48,7 @@ server { location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. + try_files $uri $uri/ /index.html; try_files $uri $uri/ =404; }