diff --git a/nginx/default.conf b/nginx/default.conf index ea60388..563bced 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -15,7 +15,8 @@ server { include ${TFW_NGINX_COMPONENTS}/*.conf; location / { + index index.html; + try_files $uri $uri/ /index.html =404; root ${TFW_FRONTEND_DIR}; - try_files $uri $uri/ index.html; } }