mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix 404 errors
This commit is contained in:
committed by
Andrey Antukh
parent
49df4a9404
commit
bfc490bd63
@@ -131,6 +131,15 @@ http {
|
||||
|
||||
location / {
|
||||
add_header Cache-Control "no-cache, max-age=0";
|
||||
|
||||
location ~ ^/(/|css|fonts|images|js|wasm) {
|
||||
}
|
||||
|
||||
location ~ ^/[^/]+/(.*)$ {
|
||||
return 301 /404.html;
|
||||
}
|
||||
|
||||
try_files $uri /index.html$is_args$args =404;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user