mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 16:31:21 +00:00
Fix nginx config for Angular
This commit is contained in:
parent
e080fb0e5c
commit
7ae3180aba
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user