Skip to content

Commit 05a9c4b

Browse files
committed
Increase body size to allow image upload
1 parent 9be2a0b commit 05a9c4b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

nginx/templates/servers.conf.template

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ server {
99

1010
add_header X-Cache $upstream_cache_status;
1111

12-
proxy_http_version 1.1;
13-
proxy_set_header Upgrade $http_upgrade;
14-
proxy_set_header Connection "upgrade";
15-
proxy_set_header Host $host;
12+
proxy_http_version 1.1;
13+
proxy_set_header Upgrade $http_upgrade;
14+
proxy_set_header Connection "upgrade";
15+
proxy_set_header Host $host;
16+
17+
client_max_body_size 15M;
1618

1719
proxy_cache_key $uri$is_args$args;
1820
proxy_cache vector_cache;

0 commit comments

Comments
 (0)