我正在使用 EKS 集群部署我的服务,使用带有秘密的 https 模式。但是服务器正在运行并使用 https 模式加载登录页面。当我尝试访问
https://域名/swagger/v1. swagger open api 服务器显示 http://domainname/.
不明白我应该在哪里更改配置以在 https 模式下显示它。
当我检查日志时,它显示如下。
[2023-04-26 06:01:54 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2023-04-26 06:01:54 +0000] [1] [INFO] Listening at: http://0.0.0.0:5000 (1)
[2023-04-26 06:01:54 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker