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 ~ /\. {