change default mime.conf location

This commit is contained in:
Matthias Hemmerich 2025-06-15 14:47:43 +02:00
parent 7efef41fe9
commit c92779f69c

View file

@ -42,7 +42,7 @@ COPY sites/${SITE}/_data/config.json /config.json
# values here make sure they are found correctly in the non-Nix container,
# even though the might not necessarily make sense directly.
RUN sed -i \
-e "s,@mimetypes@,/etc/lighttpd/mime-types.conf,g" \
-e "s,@mimetypes@,/etc/lighttpd/conf.d/mime.conf,g" \
-e "s,@python@,/usr/local,g" \
-e "s,@site@,/www,g" \
-e "s,@cgibin@,/cgi-bin,g" \