Skip to content

Commit

Permalink
Merge pull request #144 from ONSdigital/feature/updateSSLversionSpec
Browse files Browse the repository at this point in the history
Updated Gunicorn to use new SSL config spec
  • Loading branch information
Felixim0 authored Jul 31, 2024
2 parents 583bb8c + 90303eb commit e49dd41
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 e49dd41

Please sign in to comment.