DRP-70: add timeoutes as ENVs, update README.md, update nginx config (#73)

Authored-by: Bulent <bt.sezer29@gmail.com>
This commit is contained in:
Sezer Bülent
2021-01-28 13:12:18 +02:00
committed by GitHub
parent c52c7d3741
commit 51585675e6
4 changed files with 76 additions and 12 deletions

View File

@@ -14,6 +14,9 @@ http {
map_hash_bucket_size 128;
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Include nginx timeout configs
include /etc/nginx/nginx.timeouts.config.conf;
# Use a debug-oriented logging format.
log_format debugging escape=json
@@ -73,7 +76,6 @@ http {
'"upstream":"$upstream_addr"'
'}';
keepalive_timeout 300;
gzip off;
# Entrypoint generates the proxy_cache_path here, so it is configurable externally.
@@ -131,7 +133,7 @@ http {
# The proxy director layer, listens on 3128
server {
listen 3128;
server_name _;
server_name proxy_director_;
# dont log the CONNECT proxy.
#access_log /var/log/nginx/access.log debug_proxy;
@@ -199,7 +201,7 @@ echo "Docker configured with HTTPS_PROXY=$scheme://$http_host/"
# actually could be 443 or 444, depending on debug. this is now generated by the entrypoint.
listen 80 default_server;
include /etc/nginx/caching.layer.listen;
server_name _;
server_name proxy_caching_;
# Do some tweaked logging.
access_log /var/log/nginx/access.log tweaked;