一个简单的 Web 堆栈,使用 Python 中的 flask、nginx、gunicorn 和 Supervisor,配置最少。如果您想快速设置一个简单但可用于生产的 Web 服务,这将非常有用。
如何在 nginx 配置中将 http 流量重定向到 https。
如何使用 nginx 将 http 请求代理到默认端口(例如 80)到同一服务器上不同端口上运行的其他进程。