From 7ae3180aba86fd5888d78f919ee0c9e69ef49dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 14 Mar 2018 10:23:46 +0100 Subject: [PATCH] Fix nginx config for Angular --- nginx/default.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } }