ari-pep / PepCoopMembership

a webapp/form for people to join Cultural Commons Collecting Society (C3S) SCE
GNU General Public License v3.0
0 stars 1 forks source link

switch to gunicorn #62

Closed ari-pep closed 6 years ago

ari-pep commented 6 years ago

currently CoopMembership is run with pserve. Switch to gunicorn.

this enables graceful reload (on SIGHUP, specifically)

ari-pep commented 6 years ago

doing this in production neccessitates a maintenance window

gunicorn does nothing about production.ini's url_scheme = https so either we need another gunicorn config file, or make sure gunicorn is started with --forwarded-allow-ips $proxy

ari-pep commented 6 years ago

FTR: in apache this makes RequestHeader set X-Forwarded-Proto https necessary, in addition to --forwarded-allow-ips