mirror of
https://github.com/penpot/penpot.git
synced 2025-02-14 02:58:39 -05:00
🐛 Fix 404 errors
This commit is contained in:
parent
44514a0961
commit
cf9fb7face
3 changed files with 3 additions and 3 deletions
|
@ -196,7 +196,7 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/[^/]+/(.*)$ {
|
location ~ ^/[^/]+/(.*)$ {
|
||||||
return 301 /404.html;
|
return 301 " /404";
|
||||||
}
|
}
|
||||||
|
|
||||||
add_header Last-Modified $date_gmt;
|
add_header Last-Modified $date_gmt;
|
||||||
|
|
|
@ -136,7 +136,7 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/[^/]+/(.*)$ {
|
location ~ ^/[^/]+/(.*)$ {
|
||||||
return 301 /404.html;
|
return 301 " /404";
|
||||||
}
|
}
|
||||||
|
|
||||||
try_files $uri /index.html$is_args$args =404;
|
try_files $uri /index.html$is_args$args =404;
|
||||||
|
|
|
@ -173,7 +173,7 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/[^/]+/(.*)$ {
|
location ~ ^/[^/]+/(.*)$ {
|
||||||
return 301 /404.html;
|
return 301 " /404";
|
||||||
}
|
}
|
||||||
|
|
||||||
root /var/www/app/;
|
root /var/www/app/;
|
||||||
|
|
Loading…
Add table
Reference in a new issue