fixed some security risks

This commit is contained in:
2026-02-21 10:36:53 -05:00
parent b62df442b5
commit c2fe59da0d
8 changed files with 170 additions and 250 deletions
+12
View File
@@ -0,0 +1,12 @@
import multiprocessing
bind = "127.0.0.1:8000"
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = "sync"
worker_connections = 1000
timeout = 30
keepalive = 2
errorlog = "/home/jqc/logs/gunicorn-error.log"
accesslog = "/home/jqc/logs/gunicorn-access.log"
loglevel = "info"