Raise nginx /api body limit so CMS uploads can exceed the default 1m.
This commit is contained in:
@@ -20,6 +20,7 @@ location = /api/shop-settings/simplex-connect {
|
||||
}
|
||||
|
||||
location /api {
|
||||
client_max_body_size 20m;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Reference in New Issue
Block a user