diff --git a/package/gluon-web/files/lib/gluon/web/view/error/404.html b/package/gluon-web/files/lib/gluon/web/view/error/404.html
index b2db7d0f15d6d883e97910126b3f65328254f9d6..f865ecc071634aa4e9201c65d1004d06b33fd6ba 100644
--- a/package/gluon-web/files/lib/gluon/web/view/error/404.html
+++ b/package/gluon-web/files/lib/gluon/web/view/error/404.html
@@ -1,7 +1,7 @@
 <%#
- Copyright 2008 Steven Barth <steven@midlink.org>
- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
- Licensed to the public under the Apache License 2.0.
+SPDX-FileCopyrightText: 2008 Steven Barth <steven@midlink.org>
+SPDX-FileCopyrightText: 2008 Jo-Philipp Wich <jow@openwrt.org>
+SPDX-License-Identifier: Apache-2.0
 -%>
 
 <h2 name="content">404 <%:Not Found%></h2>
diff --git a/package/gluon-web/files/lib/gluon/web/view/error/500.html b/package/gluon-web/files/lib/gluon/web/view/error/500.html
index 8f1532bebdd8671aede2e9e9c93218fee0315fdd..b09219bfe89106c45b400ba1abb564e04ce1a902 100644
--- a/package/gluon-web/files/lib/gluon/web/view/error/500.html
+++ b/package/gluon-web/files/lib/gluon/web/view/error/500.html
@@ -1,7 +1,7 @@
 <%#
- Copyright 2008 Steven Barth <steven@midlink.org>
- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
- Licensed to the public under the Apache License 2.0.
+SPDX-FileCopyrightText: 2008 Steven Barth <steven@midlink.org>
+SPDX-FileCopyrightText: 2008 Jo-Philipp Wich <jow@openwrt.org>
+SPDX-License-Identifier: Apache-2.0
 -%>
 
 <h2 name="content">500 <%:Internal Server Error%></h2>