[uwsgi] base-dir = /home/portal/qcg-portal uid = portal gid = portal cache2 = name=ssl,items=1000,keysize=128,blocksize=4096 ssl-sessions-use-cache = ssl ssl-sessions-timeout = 300 shared-socket = :80 shared-socket = :443 http-to-https = =0 https = =1,%(base-dir)/certs/cert.crt,%(base-dir)/certs/cert.key,EECDH+aRSA+AES:EDH+aRSA+AES:kRSA+AES:@STRENGTH add-header = Strict-Transport-Security: max-age=31536000 workers = 6 enable-threads = True ; this do not play well with ssl cache... ; thunder-lock = True master = True vacuum = True umask = 022 pidfile = /var/run/uwsgi.pid logfile-chmod = 644 daemonize = %(base-dir)/uwsgi.master.log stats = %(base-dir)/uwsgi.stats.socket chdir = %(base-dir) virtualenv = /home/portal/venv module = plgng.wsgi:application env = DJANGO_SETTINGS_MODULE=plgng.settings_prod static-map = /static=%(base-dir)/server-static