Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Commit d3a09ff

Browse files
author
Valeriano Manassero
committed
compare value with eq with a string
1 parent df81747 commit d3a09ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/etc/nginx/template/nginx.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@ http {
505505
add_header HTTPS on;
506506
}
507507

508-
client_max_body_size {{ $cfg.ProxyBodySize }};
509-
{{ if eq $cfg.ProxyBodySize 0 }}
508+
client_max_body_size "{{ $cfg.ProxyBodySize }}";
509+
{{ if eq $cfg.ProxyBodySize "0" }}
510510
proxy_http_version 1.1;
511511
proxy_request_buffering off;
512512
{{ end }}

0 commit comments

Comments
 (0)