mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix 404 errors
This commit is contained in:
@@ -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/;
|
||||||
|
|||||||
Reference in New Issue
Block a user