Merge branch 'pull/22'

This commit is contained in:
ricardop
2020-04-03 13:49:08 +02:00
3 changed files with 10 additions and 5 deletions

View File

@@ -42,10 +42,6 @@ http {
keepalive_timeout 300;
gzip off;
# The cache directory. This can get huge. Better to use a Docker volume pointing here!
# Set to 32gb which should be enough
proxy_cache_path /docker_mirror_cache levels=1:2 max_size=32g inactive=60d keys_zone=cache:10m use_temp_path=off;
# Just in case you want to rewrite some hosts. Default maps directly.
map $host $targetHost {
hostnames;
@@ -93,6 +89,8 @@ http {
default "DID_NOT_MATCH_PATH";
}
include /etc/nginx/conf.d/*.conf;
# The proxy director layer, listens on 3128
server {