Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/nethsec/reverse_proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def create_location(e_uci, uci_server, location, proxy_pass, domain='', allow=No
e_uci.set('nginx', location_id, 'proxy_set_header', default_headers)
# set body limit to 1GB: same value of NethServer 7
e_uci.set('nginx', location_id, 'client_max_body_size', '1024m')
# disable server tokens
e_uci.set('nginx', location_id, 'server_tokens', 'off')
# setup location
e_uci.set('nginx', location_id, 'uci_server', uci_server)
e_uci.set('nginx', location_id, 'location', location)
Expand Down