include /var/www/html/wp-content/uploads/nginx-helper/map.conf;
}
# statements for each of your virtual hosts to this file
server {
listen0.0.0.0:80;
root /var/www/html;
indexindex.phpindex.htmlindex.htm;
#
# Caching configuration
#
#fastcgi_cache start
set $skip_cache0;
# POST requests and urls with a query string should always go to PHP
if ($request_method = POST) { set $skip_cache1; }
if ($query_string != "") { set $skip_cache1; }
# Don't cache uris containing the following segments
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|wp-.*.php|/feed/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
set $skip_cache1;
}
# Don't use the cache for logged in users or recent commenters
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in") {