Revert wildcard include (#540)
* Revert wildcard include * Revert gitignore
This commit is contained in:
parent
d1675500d0
commit
3eaef976cf
|
@ -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
|
||||
|
|
|
@ -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 "";
|
||||
|
|
|
@ -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:
|
Reference in New Issue