From 0e6dcd280d74cf41507cc1677d387fdca412583e Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 2 Feb 2026 16:13:09 -0700 Subject: [PATCH] Adding special handling for yaml files so they don't try to download. --- docker/web/nginx.dev.conf | 4 +++- etc/raspberrypios/nginx.conf | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/web/nginx.dev.conf b/docker/web/nginx.dev.conf index 2d2292d4..adf50a55 100644 --- a/docker/web/nginx.dev.conf +++ b/docker/web/nginx.dev.conf @@ -17,6 +17,8 @@ http { # Custom types for ebooks. application/x-mobipocket-ebook mobi; application/epub+zip epub; + # Configs + text/yaml yaml yml; } server { @@ -41,4 +43,4 @@ http { include /etc/nginx/conf.d/*; } -} \ No newline at end of file +} diff --git a/etc/raspberrypios/nginx.conf b/etc/raspberrypios/nginx.conf index 4d2e93fe..4d575d68 100644 --- a/etc/raspberrypios/nginx.conf +++ b/etc/raspberrypios/nginx.conf @@ -18,6 +18,8 @@ http { # Custom types for ebooks. application/x-mobipocket-ebook mobi; application/epub+zip epub; + # Configs + text/yaml yaml yml; } error_page 502 /error/50x.html;