Skip to content

Commit

Permalink
Updated Gunicorn to use new SSL config spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Felixim0 committed Jul 31, 2024
1 parent 583bb8c commit 90303eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Gunicorn config
bind = ":" + str(PORT)
# Disable TLSv1.0 and TLSv1.1
ssl_version = 'TLSv1_2'
ssl_context = 'TLSv1_2'
workers = multiprocessing.cpu_count() * 2 + 1
threads = 2 * multiprocessing.cpu_count()
timeout = 420

0 comments on commit 90303eb

Please sign in to comment.