Skip to content

Commit 5ceb8ff

Browse files
committed
feat: update nginx configuration client_max_body_size
1 parent 47332ac commit 5ceb8ff

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cmdb-api/api/lib/cmdb/ci_type.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,7 @@ def _import_attributes(self, type2attributes):
13991399
i.pop('order', None)
14001400
i.pop('choice_web_hook', None)
14011401
i.pop('choice_other', None)
1402+
i.pop('choice_builtin', None)
14021403
i.pop('order', None)
14031404
i.pop('inherited_from', None)
14041405
choice_value = i.pop('choice_value', None)

docs/nginx.cmdb.conf.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ server {
2626
application/rss+xml
2727
image/svg+xml;
2828

29+
client_max_body_size 100m;
30+
2931
root /etc/nginx/html;
3032
location / {
3133
root /etc/nginx/html;

0 commit comments

Comments
 (0)