fix(): add nginx directive for flagrow/sitemap

pull/29/head
Magicalex 2018-10-05 02:51:15 +02:00
parent 80770dd921
commit 8023c2b1f6
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ http {
location /api { try_files $uri $uri/ /api.php?$query_string; } location /api { try_files $uri $uri/ /api.php?$query_string; }
location /admin { try_files $uri $uri/ /admin.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 # Access path list
# -------------------------------------- # --------------------------------------
location ~ /\. { location ~ /\. {