From aead2a318c6fb9b387792654a06dbe8083621aff Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Mon, 26 Aug 2024 14:25:26 +0200 Subject: [PATCH] website: lighttpd.conf: sort mimetype alphabetically. Signed-off-by: Denis 'GNUtoo' Carikli Acked-by: Adrien 'neox' Bourmault --- 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 +# Copyright (C) 2022-2024 Denis 'GNUtoo' Carikli # # 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 +# Copyright (C) 2023,2024 Denis 'GNUtoo' Carikli # # 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" )