nginx config fixed for 404
This commit is contained in:
parent
a56a715331
commit
c89090dba4
|
@ -8,7 +8,7 @@ server {
|
|||
root /usr/share/nginx/html;
|
||||
error_page 404 = @notfound;
|
||||
|
||||
@notfound {
|
||||
location @notfound {
|
||||
return 302 /;
|
||||
}
|
||||
location ~ ^(/[a-zA-Z0-9_-]+)?/(?<path>api(/.*)?)$ {
|
||||
|
|
Loading…
Reference in New Issue