File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,12 @@ server {
66
77 location /.well-known/acme-challenge/ {
88 root /var/www/certbot;
9+ client_max_body_size 10m;
910 allow all;
1011 }
1112
1213 location / {
14+ client_max_body_size 10m;
1315 return 301 https://$host$request_uri;
1416 }
1517}
@@ -19,12 +21,15 @@ server {
1921 listen 443 ssl;
2022 server_name growinserver.shop;
2123
24+ client_max_body_size 10m;
25+
2226 ssl_certificate /etc/letsencrypt/live/growinserver.shop/fullchain.pem;
2327 ssl_certificate_key /etc/letsencrypt/live/growinserver.shop/privkey.pem;
2428 ssl_protocols TLSv1.2 TLSv1.3;
2529 ssl_ciphers HIGH:!aNULL:!MD5;
2630
2731 location / {
32+ client_max_body_size 10m;
2833 proxy_pass http://tinybite-api-blue:8080;
2934 proxy_set_header Host $host;
3035 proxy_set_header X-Real-IP $remote_addr;
Original file line number Diff line number Diff line change 44 application :
55 name : tinybite
66
7+ servlet :
8+ multipart :
9+ max-file-size : 10MB
10+ max-request-size : 10MB
11+
712 profiles :
813 group :
914 local : ' local'
You can’t perform that action at this time.
0 commit comments