Sign inSign up

sig9/nginx-proxy

By sig9

•Updated over 9 years ago

Automated Nginx reverse proxy for docker containers based on jwilder/nginx-proxy.

Image
1

746

sig9/nginx-proxy repository overview

⁠CLIENT_MAX_BODY_SIZE

Sets the maximum allowed size of the client request body, specified in the “Content-Length” request header field. If the size in a request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Please be aware that browsers cannot correctly display this error. Setting size to 0 disables checking of client request body size.

Nginx default value is 1MB, and jwilder/nginx-proxy is 100MB. This image is 10GB.

FROM jwilder/nginx-proxy
RUN { \
      echo 'server_tokens off;'; \
      echo 'client_max_body_size 10g;'; \
    } > /etc/nginx/conf.d/my_proxy.conf

Tag summary

Content type

Image

Digest

Size

64.1 MB

Last updated

over 9 years ago

docker pull sig9/nginx-proxy