diff --git a/docs/example.nginx.conf b/docs/example.nginx.conf index 5c0bef47d..82303be86 100644 --- a/docs/example.nginx.conf +++ b/docs/example.nginx.conf @@ -87,7 +87,7 @@ server { if ($args ~ ver=) { set $cacheControl max-age=31536000; } - if ($uri ~ ^/.*(\/|\.html)$) { + if ($uri ~ ^(\/|.*\/|.*\.html)$) { set $cacheControl no-cache; } # Will not set any header if it is emptystring