Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
feat(router): custom request size.
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Sep 5, 2014
1 parent 0fe39d9 commit e5488e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/managing_deis/router_settings.rst
Expand Up @@ -46,6 +46,7 @@ setting description
/deis/router/gzipVary nginx gzipVary setting (default: on)
/deis/router/gzipDisable nginx gzipDisable setting (default: "msie6")
/deis/router/gzipTypes nginx gzipTypes setting (default: "application/x-javascript, application/xhtml+xml, application/xml, application/xml+rss, application/json, text/css, text/javascript, text/plain, text/xml")
/deis/router/bodySize nginx body size setting (default: 1m)
==================================== =============================================================================================================================================================================================

Using a custom router image
Expand Down
2 changes: 2 additions & 0 deletions router/templates/nginx.conf
Expand Up @@ -29,6 +29,8 @@ http {
gzip_types {{ .deis_router_gzipTypes }};
gzip_proxied {{ .deis_router_gzipProxied }};
gzip_vary {{ .deis_router_gzipVary }};{{ end }}

client_max_body_size {{ or (.deis_router_bodySize) "1m" }};

# send logs to STDOUT so they can be seen using 'docker logs'
access_log /dev/stdout;
Expand Down

0 comments on commit e5488e8

Please sign in to comment.