Skip to content

Commit

Permalink
Add the ability to set up max size uploaded file
Browse files Browse the repository at this point in the history
  • Loading branch information
VyacheslavSemin committed Jan 16, 2024
1 parent 5680c18 commit ac8aac8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ The `helm delete` command removes all the Kubernetes components associated with
| `docservice.autoscaling.behavior` | Configuring Docservice deployment scaling behavior policies for the `scaleDown` and `scaleUp` fields | `{}` |
| `proxy.accessLog` | Defines the nginx config [access_log](https://nginx.org/en/docs/http/ngx_http_log_module.html#access_log) format directive | `off` |
| `proxy.gzipProxied` | Defines the nginx config [gzip_proxied](https://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_proxied) directive | `off` |
| `proxy.clientMaxBodySize` | Defines the nginx config [client_max_body_size](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size) directive | `100m` |
| `proxy.workerConnections` | Defines the nginx config [worker_connections](https://nginx.org/en/docs/ngx_core_module.html#worker_connections) directive | `4096` |
| `proxy.secureLinkSecret` | Defines secret for the nginx config directive [secure_link_md5](https://nginx.org/en/docs/http/ngx_http_secure_link_module.html#secure_link_md5) | `verysecretstring` |
| `proxy.infoAllowedIP` | Defines ip addresses for accessing the info page | `[]` |
Expand Down
1 change: 1 addition & 0 deletions templates/configmaps/documentserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ data:
LOG_PATTERN: {{ .Values.log.pattern | quote }}
NGINX_ACCESS_LOG: {{ .Values.proxy.accessLog | quote }}
NGINX_GZIP_PROXIED: {{ .Values.proxy.gzipProxied | quote }}
NGINX_CLIENT_MAX_BODY_SIZE: {{ .Values.proxy.clientMaxBodySize | quote }}
NGINX_WORKER_CONNECTIONS: {{ .Values.proxy.workerConnections | quote }}
SECURE_LINK_SECRET: {{ .Values.proxy.secureLinkSecret | quote }}
{{- if .Values.example.enabled }}
Expand Down
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,9 @@ proxy:
## proxy.gzipProxied Defines the nginx config gzip_proxied directive
## ref: https://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_proxied
gzipProxied: "off"
## proxy.clientMaxBodySize Defines the nginx config client_max_body_size directive
## ref: https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
clientMaxBodySize: "100m"
## proxy.workerConnections Defines the nginx config worker_connections directive
## ref: https://nginx.org/en/docs/ngx_core_module.html#worker_connections
workerConnections: "4096"
Expand Down

0 comments on commit ac8aac8

Please sign in to comment.