feat(frontend): add nginx config for SPA routing
This commit is contained in:
parent
3407bc31c4
commit
16f034e18c
1 changed files with 10 additions and 0 deletions
10
frontend/nginx.conf
Normal file
10
frontend/nginx.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue