Merge pull request 'change default mime.conf location' (#183) from fix-lighttpd into main

Reviewed-on: https://codeberg.org/angestoepselt/homepage/pulls/183
This commit is contained in:
Matthias Hemmerich 2025-06-15 14:56:25 +02:00
commit 39172b4e47

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" \