From b85b5030155993dac521e2c7021a98a0a3d35466 Mon Sep 17 00:00:00 2001 From: dimti Date: Wed, 17 Nov 2021 00:13:09 +0300 Subject: [PATCH] * octobercms config allow all xml files in web-root --- config/nginx/includes.d/octobercms.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nginx/includes.d/octobercms.conf b/config/nginx/includes.d/octobercms.conf index dffd1a3..938f3d8 100644 --- a/config/nginx/includes.d/octobercms.conf +++ b/config/nginx/includes.d/octobercms.conf @@ -10,7 +10,7 @@ # Whitelist ## Let October handle if static file not exists location = /favicon.ico { try_files $uri /index.php; } - location = /sitemap.xml { try_files $uri /index.php; } + location ~ ^/.*\.xml { try_files $uri /index.php; } location = /robots.txt { try_files $uri /index.php; } location = /humans.txt { try_files $uri /index.php; }