Revert wildcard include (#540)

* Revert wildcard include

* Revert gitignore
This commit is contained in:
Peter-Jan Brone 2020-11-25 17:26:44 +01:00 committed by GitHub
parent d1675500d0
commit 3eaef976cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

2
.gitignore vendored
View File

@ -74,8 +74,6 @@ packages/webapp/cypress/videos
# Docker data
docker/data
docker/nginx/conf.d/include/ratelimited/*
!docker/nginx/conf.d/include/ratelimited/example
# Docker override
docker-compose.override.yml

View File

@ -3,7 +3,7 @@ proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=skynet:10m max_size=10g
# ratelimit specified IPs
geo $limit {
default 0;
include /etc/nginx/conf.d/include/ratelimited/*;
include /etc/nginx/conf.d/include/ratelimited;
}
map $limit $limit_key {
0 "";

View File

@ -1,6 +1,4 @@
# Add a list of IPs here that should be severely rate limited on upload.
# Every file in this directory will be included.
#
# Note that it is possible to add IP ranges as well as the full IP address.
#
# Examples: