Skip to content

Commit 532713e

Browse files
Add TABPY_MINIMUM_TLS_VERSION.
1 parent bc88276 commit 532713e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tabpy/tabpy_server/app/app_parameters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class ConfigParameters:
1010
TABPY_TRANSFER_PROTOCOL = "TABPY_TRANSFER_PROTOCOL"
1111
TABPY_CERTIFICATE_FILE = "TABPY_CERTIFICATE_FILE"
1212
TABPY_KEY_FILE = "TABPY_KEY_FILE"
13+
TABPY_MINIMUM_TLS_VERSION = "TABPY_MINIMUM_TLS_VERSION"
1314
TABPY_LOG_DETAILS = "TABPY_LOG_DETAILS"
1415
TABPY_STATIC_PATH = "TABPY_STATIC_PATH"
1516
TABPY_MAX_REQUEST_SIZE_MB = "TABPY_MAX_REQUEST_SIZE_MB"
@@ -33,6 +34,7 @@ class SettingsParameters:
3334
UploadDir = "upload_dir"
3435
CertificateFile = "certificate_file"
3536
KeyFile = "key_file"
37+
MinimumTLSVersion = "minimum_tls_version"
3638
StateFilePath = "state_file_path"
3739
ApiVersions = "versions"
3840
LogRequestContext = "log_request_context"

tabpy/tabpy_server/common/default.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# TABPY_TRANSFER_PROTOCOL = https
1616
# TABPY_CERTIFICATE_FILE = /path/to/certificate/file.crt
1717
# TABPY_KEY_FILE = /path/to/key/file.key
18+
# TABPY_MINIMUM_TLS_VERSION = TLSv1_2
1819

1920
# Log additional request details including caller IP, full URL, client
2021
# end user info if provided.

0 commit comments

Comments
 (0)