chaos-jetzt / chaos-jetzt-nixfiles

5 stars 2 forks source link

services/website: Deliver alternative image formats + custom 404 #16

Closed e1mo closed 1 year ago

e1mo commented 1 year ago

Deliver images in alternative formats (453f72a): If the browser supports webp/avif images, nginx checks if any file with the same name but the other formats extension is available. PR for the Website: https://github.com/chaos-jetzt/website_pelican/pull/26

Support custom 404 page (972cfda): The actual 404 will be generated from pelican. log_not_found was set for privacy reasons (since we don't have a favicon, every request still gets logged with it's full IP due to the 404) PR for the Website: https://github.com/chaos-jetzt/website_pelican/pull/27