diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-04 16:10:02 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-04 16:10:02 -0500 |
commit | 216de545b8bc079156c900b313d2bff2a211bdf3 (patch) | |
tree | 38ba703b99c7f28c335178b6763f7db41b3f97dd /nginx.inc.conf | |
parent | c51721ac3581cd2fe032b753ba141d19326ab9bc (diff) | |
download | html5ks-216de545b8bc079156c900b313d2bff2a211bdf3.tar.xz html5ks-216de545b8bc079156c900b313d2bff2a211bdf3.zip |
tweak travis, lessen nginx restrictions
Diffstat (limited to 'nginx.inc.conf')
-rw-r--r-- | nginx.inc.conf | 2 |
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; |