Properly run FastAPI uvicorn+gunicorn with HTTPS

fullchain under nginx configuration file

To run the FastAPI on HTTPS: edit systemctl service file of your app service. On Ubuntu, those files located at (/etc/systemd/system/) If you don’t remember where you put the service file of your app – just run the systemctl status command: systemctl