nginx config fixed for 404

This commit is contained in:
Juan Ferrer 2019-02-01 11:06:23 +01:00
parent a56a715331
commit c89090dba4
1 changed files with 1 additions and 1 deletions

View File

@ -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(/.*)?)$ {