url_for is using HTTP instead of HTTPS in FastAPI – Nginx
I have a html file and I configured the URL of the links as below. app.mount("/static", StaticFiles(directory="static"), name="static") {{ url_for('static', path='css/style.css') }} I have got the domain creation for the application with nginx and haproxy. When the html page is…