use explicit include for the proxy cache directive.

pull/38/head
ricardop 2020-04-03 14:05:01 +02:00
parent bc0ac351bb
commit e72389b690
1 changed files with 3 additions and 2 deletions

View File

@ -42,6 +42,9 @@ http {
keepalive_timeout 300;
gzip off;
# Entrypoint generates the proxy_cache_path here, so it is configurable externally.
include /etc/nginx/conf.d/cache_max_size.conf;
# Just in case you want to rewrite some hosts. Default maps directly.
map $host $targetHost {
hostnames;
@ -89,8 +92,6 @@ http {
default "DID_NOT_MATCH_PATH";
}
include /etc/nginx/conf.d/*.conf;
# The proxy director layer, listens on 3128
server {