Skip to content

Commit

Permalink
Merge branch 'YH-709'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Mar 9, 2015
2 parents 4a5456a + b4bfcf6 commit b8c300d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansible/roles/nginx/templates/nginx_site_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ server {
access_log off;
}

location ~* \.(txt|log)$ {
# Serve files from ckan but not from anywhere else
location ~* ^(?!/data/.*dataset/).*\.(txt|log)$ {
allow 192.168.0.0/16;
deny all;
}
Expand Down

0 comments on commit b8c300d

Please sign in to comment.