summaryrefslogtreecommitdiff
path: root/nginx.inc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.inc.conf')
-rw-r--r--nginx.inc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx.inc.conf b/nginx.inc.conf
index 8d3981a..5b1cac7 100644
--- a/nginx.inc.conf
+++ b/nginx.inc.conf
@@ -11,7 +11,7 @@ location ~ ^/(css/font|js/lib)/ {
expires 1d;
}
-location / {
+location ~ ^/(index\.html)?$ {
set $warned NO;
if ($http_cookie ~ "warned") {
set $warned YES;