fix(nginx): fixing base config
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
f51519bc86
commit
76acafdd12
1 changed files with 3 additions and 0 deletions
|
|
@ -5,5 +5,8 @@ server {
|
|||
index index.html;
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
rewrite ^((?!.(js|css|png|svg|jpg|woff|woff2)).)*$ /index.html break;
|
||||
proxy_intercept_errors on; # see frontend://nginx.org/en/docs/frontend/ngx_frontend_proxy_module.html#proxy_intercept_errors
|
||||
error_page 404 =200 /index.html;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue