Skip to content

Commit e72389b

Browse files
author
ricardop
committed
use explicit include for the proxy cache directive.
1 parent bc0ac35 commit e72389b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nginx.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ http {
4242
keepalive_timeout 300;
4343
gzip off;
4444

45+
# Entrypoint generates the proxy_cache_path here, so it is configurable externally.
46+
include /etc/nginx/conf.d/cache_max_size.conf;
47+
4548
# Just in case you want to rewrite some hosts. Default maps directly.
4649
map $host $targetHost {
4750
hostnames;
@@ -89,8 +92,6 @@ http {
8992
default "DID_NOT_MATCH_PATH";
9093
}
9194

92-
include /etc/nginx/conf.d/*.conf;
93-
9495

9596
# The proxy director layer, listens on 3128
9697
server {

0 commit comments

Comments
 (0)