I have build a rest api with python flask.
I want change HTTP to HTTPS.
Like http://xx.domain.com:8700/v1/request to https://xx.domain.com/v1/request
What should I do? Where to set the certificate?
Here is part code.
if __name__ == '__main__':
from waitress import serve
serve(app, host="0.0.0.0", port=8700)