Quando avvio il servizio Gunicorn, attualmente utilizzo questo comando per avviarlo: gunicorn --certfile =/Projects/thebodyofchrist.us.crt --keyfile =/Projects/thebodyofchrist. us.key bodyofchrist.wsgi -b 0.0.0.0:443 -b 0.0.0.0:80 -w 10Esecuzione di Gunicorn su entrambi http e https
Per collegare gunicorn sia a http che a https - o setup apache2 per ascoltare http e reindirizzare le richieste a https con parametri esistenti. Ho centinaia di link al http://domain.com/sample/request
e la necessità di andare automaticamente https://domain.com/sample/request
gunicorn ospita Django.
Grazie per qualsiasi aiuto!