fix upload limit
This commit is contained in:
parent
60ef7a79de
commit
7131b16543
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ server {
|
||||||
include {{ printf "/etc/nginx/vhost.d/%s" $host }};
|
include {{ printf "/etc/nginx/vhost.d/%s" $host }};
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
client_max_body_size 10M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass {{ $proto }}://{{ $host }};
|
proxy_pass {{ $proto }}://{{ $host }};
|
||||||
proxy_redirect {{ $proto }}://{{ $host }}/ /;
|
proxy_redirect {{ $proto }}://{{ $host }}/ /;
|
||||||
|
|
Loading…
Reference in a new issue