Skip to content

Commit a053184

Browse files
committed
Update Nginx buffer settings
1 parent 8f1fa2e commit a053184

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.ebextensions/01_application.config

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,17 @@ option_settings:
2525
DefaultProcess: default
2626
aws:elasticbeanstalk:healthreporting:system:
2727
SystemType: enhanced
28+
29+
files:
30+
"/etc/nginx/conf.d/custom.conf":
31+
mode: "000644"
32+
owner: root
33+
group: root
34+
content: |
35+
client_max_body_size 20M;
36+
client_header_buffer_size 16k;
37+
large_client_header_buffers 4 16k;
38+
39+
container_commands:
40+
01_reload_nginx:
41+
command: "service nginx reload"

0 commit comments

Comments
 (0)