diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-02-24 18:14:15 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-02-24 18:25:32 +0900 |
| commit | 74fb8b04f9ef22e3d3ceaa139f2ace03df6a5ae0 (patch) | |
| tree | 9684f88537a2026feb4b49d3ca38d628900d7c17 | |
| parent | 8ea9a599b5783d2cddeab235d541748e72cb4bcb (diff) | |
| download | nsfisis.dev-74fb8b04f9ef22e3d3ceaa139f2ace03df6a5ae0.tar.gz nsfisis.dev-74fb8b04f9ef22e3d3ceaa139f2ace03df6a5ae0.tar.zst nsfisis.dev-74fb8b04f9ef22e3d3ceaa139f2ace03df6a5ae0.zip | |
fix(blog/nginx): fix content-type of Atom feed
| -rw-r--r-- | vhosts/blog/nginx.conf | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
