We need a longer call in server.py:
uvicorn.run(
'main:app', port=443, host='0.0.0.0',
reload=True, reload_dirs=['html_files'],
ssl_keyfile='/path/to/certificate-key.pem',
ssl_certfile='/path/to/certificate.pem')
and we need ssl_key/certificate. I think we can only do this later.
Perhaps we need a switch that tells if the service should be http or https: I will add some parts now.
We need a longer call in server.py: uvicorn.run( 'main:app', port=443, host='0.0.0.0', reload=True, reload_dirs=['html_files'], ssl_keyfile='/path/to/certificate-key.pem', ssl_certfile='/path/to/certificate.pem')
and we need ssl_key/certificate. I think we can only do this later. Perhaps we need a switch that tells if the service should be http or https: I will add some parts now.