summaryrefslogtreecommitdiff
path: root/nginx.inc.conf
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-04 16:10:02 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-04 16:10:02 -0500
commit216de545b8bc079156c900b313d2bff2a211bdf3 (patch)
tree38ba703b99c7f28c335178b6763f7db41b3f97dd /nginx.inc.conf
parentc51721ac3581cd2fe032b753ba141d19326ab9bc (diff)
downloadhtml5ks-216de545b8bc079156c900b313d2bff2a211bdf3.tar.xz
html5ks-216de545b8bc079156c900b313d2bff2a211bdf3.zip
tweak travis, lessen nginx restrictions
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;