0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 01:28:30 -05:00

🐛 Fix 404 errors

This commit is contained in:
Alejandro Alonso 2023-07-06 19:00:10 +02:00
parent 44514a0961
commit cf9fb7face
3 changed files with 3 additions and 3 deletions

View file

@ -196,7 +196,7 @@ http {
}
location ~ ^/[^/]+/(.*)$ {
return 301 /404.html;
return 301 " /404";
}
add_header Last-Modified $date_gmt;

View file

@ -136,7 +136,7 @@ http {
}
location ~ ^/[^/]+/(.*)$ {
return 301 /404.html;
return 301 " /404";
}
try_files $uri /index.html$is_args$args =404;

View file

@ -173,7 +173,7 @@ http {
}
location ~ ^/[^/]+/(.*)$ {
return 301 /404.html;
return 301 " /404";
}
root /var/www/app/;