fix(): add nginx directive for flagrow/sitemap
parent
80770dd921
commit
8023c2b1f6
|
@ -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 ~ /\. {
|
||||||
|
|
Loading…
Reference in New Issue