From 74fb8b04f9ef22e3d3ceaa139f2ace03df6a5ae0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 24 Feb 2024 18:14:15 +0900 Subject: fix(blog/nginx): fix content-type of Atom feed --- vhosts/blog/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vhosts/blog/nginx.conf b/vhosts/blog/nginx.conf index f2faf571..6696aa34 100644 --- a/vhosts/blog/nginx.conf +++ b/vhosts/blog/nginx.conf @@ -4,6 +4,11 @@ server { location / { root /public; + + location ~* ^.*/atom\.xml$ { + types { } + default_type "application/atom+xml; charset=utf-8"; + } } error_page 404 /404.html; -- cgit v1.2.3-70-g09d2