website: lighttpd.conf: sort mimetype alphabetically.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-08-26 14:25:26 +02:00 committed by Adrien 'neox' Bourmault
parent e1b24cb136
commit aead2a318c
Signed by: neox
GPG Key ID: 57BC26A3687116F6
2 changed files with 9 additions and 9 deletions

View File

@ -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 # 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 # it under the terms of the GNU General Public License as published by

View File

@ -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 # 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 # 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" dir-listing.activate = "enable"
index-file.names = ( "index.html" ) index-file.names = ( "index.html" )
mimetype.assign = ( mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".css" => "text/css", ".css" => "text/css",
".js" => "application/x-javascript",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".gif" => "image/gif", ".gif" => "image/gif",
".html" => "text/html",
".jpeg" => "image/jpeg",
".jpg" => "image/jpeg",
".js" => "application/x-javascript",
".png" => "image/png", ".png" => "image/png",
".txt" => "text/plain",
"" => "application/octet-stream" "" => "application/octet-stream"
) )