Browse Source

Merge "Disable client_max_body_size checks in nginx"

master
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
525b11fd21
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      snap-overlay/templates/nginx.conf.j2

+ 6
- 0
snap-overlay/templates/nginx.conf.j2 View File

@ -16,6 +16,12 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# Disabled for glance image uploads. The maximum size will be
# determined by glance settings.
# TODO(wolsen): should the scope be narrowed to horizon/glance?
client_max_body_size 0;
proxy_buffering off;
proxy_request_buffering off;
include {{ snap }}/usr/conf/mime.types;
default_type application/octet-stream;


Loading…
Cancel
Save