Skip to content

Commit

Permalink
force enable gzip, ignore ie6
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Jun 9, 2015
1 parent ed5e38b commit 13a7016
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ server {
}
}

# 保护.git目录
location ~ /\.git {
deny all;
}

# 处理程序路由
location / {
# 用于本地测试
Expand Down

0 comments on commit 13a7016

Please sign in to comment.