Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name = 'nethsec',
version = '1.4.5',
version = '1.4.6',
author = 'Giacomo Sanchietti',
author_email = 'giacomo.sanchietti@nethesis.it',
description = 'Utilities for NethSecurity development',
Expand Down
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