#!/usr/bin/env python3 import os import gunicorn from app import app, hostname, gunicorn_port if __name__ == '__main__': app.run(host=hostname, port=gunicorn_port) workers = int(os.environ.get('GUNICORN_PROCESSES', '1')) threads = int(os.environ.get('GUNICORN_THREADS', '1')) bind = os.environ.get('GUNICORN_BIND', f'{hostname}:{str(gunicorn_port)}') forwarded_allow_ips = '*' secure_scheme_headers = { 'X-Forwarded-Proto': 'https' } gunicorn.SERVER = '' gunicorn.SERVER_SOFTWARE = '' gunicorn.Server_Timing = '' gunicorn.CONNECTION = ''