CloudFoundry: nginx for serving static content on top of Gunicorn (Docker)
问题 I am currently running a Gunicorn server in a Docker container serving both a Flask application and static content (on Swisscom CloudFoundry). What is the correct way to set up nginx as a reverse proxy for serving the static content? I assume the Staticfile buildpack is not the way to go? Could someone point me in the right direction? 回答1: If you're using Cloud Foundry, it's super easy to spin up an extra instance or two to scale your app up and handle more load. I would recommend doing this