Fix nginx config for Angular

This commit is contained in:
Kristóf Tóth 2018-03-14 10:23:46 +01:00
parent e080fb0e5c
commit 7ae3180aba

View File

@ -15,7 +15,8 @@ server {
include ${TFW_NGINX_COMPONENTS}/*.conf; include ${TFW_NGINX_COMPONENTS}/*.conf;
location / { location / {
index index.html;
try_files $uri $uri/ /index.html =404;
root ${TFW_FRONTEND_DIR}; root ${TFW_FRONTEND_DIR};
try_files $uri $uri/ index.html;
} }
} }