fixed sitemap xml
This commit is contained in:
@@ -63,6 +63,11 @@ data:
|
|||||||
try_files $uri $uri.html $uri/ =404;
|
try_files $uri $uri.html $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /sitemap.xml {
|
||||||
|
types { application/xml xml; }
|
||||||
|
default_type application/xml;
|
||||||
|
}
|
||||||
|
|
||||||
# Cache static assets
|
# Cache static assets
|
||||||
location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
|
location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
|
||||||
expires 7d;
|
expires 7d;
|
||||||
|
|||||||
Reference in New Issue
Block a user