From 8023c2b1f63d3a7627e49d6fd9a9b7cc2ebd21e7 Mon Sep 17 00:00:00 2001 From: Magicalex Date: Fri, 5 Oct 2018 02:51:15 +0200 Subject: [PATCH] fix(): add nginx directive for flagrow/sitemap --- rootfs/etc/nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index d3bf5cf..c9347d7 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -76,6 +76,9 @@ http { location /api { try_files $uri $uri/ /api.php?$query_string; } location /admin { try_files $uri $uri/ /admin.php?$query_string; } + # fix for flagrow/sitemap (https://github.com/flagrow/sitemap) + location = /sitemap.xml { try_files $uri $uri/ /index.php?$query_string; } + # Access path list # -------------------------------------- location ~ /\. {