gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 02/10] website: lighttpd.conf: sort mimetype alphabetically.


From: Denis 'GNUtoo' Carikli
Subject: [PATCH 02/10] website: lighttpd.conf: sort mimetype alphabetically.
Date: Mon, 26 Aug 2024 14:25:26 +0200

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 website/Makefile.am        |  2 +-
 website/lighttpd.conf.tmpl | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/website/Makefile.am b/website/Makefile.am
index 7f7f5e4..d69ab9e 100644
--- a/website/Makefile.am
+++ b/website/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2022-2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+# Copyright (C) 2022-2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/website/lighttpd.conf.tmpl b/website/lighttpd.conf.tmpl
index 2ee99a2..a9cecb3 100644
--- a/website/lighttpd.conf.tmpl
+++ b/website/lighttpd.conf.tmpl
@@ -1,4 +1,4 @@
-# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+# Copyright (C) 2023,2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -19,13 +19,13 @@ server.document-root    = var.CWD + "/site/"
 dir-listing.activate   = "enable"
 index-file.names       = ( "index.html" )
 mimetype.assign                = (
+                               ".css"  => "text/css",
+                               ".gif"  => "image/gif",
                                ".html" => "text/html",
-                               ".txt" => "text/plain",
-                               ".css" => "text/css",
-                               ".js" => "application/x-javascript",
-                               ".jpg" => "image/jpeg",
                                ".jpeg" => "image/jpeg",
-                               ".gif" => "image/gif",
-                               ".png" => "image/png",
-                               "" => "application/octet-stream"
+                               ".jpg"  => "image/jpeg",
+                               ".js"   => "application/x-javascript",
+                               ".png"  => "image/png",
+                               ".txt"  => "text/plain",
+                               ""      => "application/octet-stream"
                        )
-- 
2.45.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]