Created
March 7, 2021 16:59
-
-
Save novasush/b9c1bc82b8b33b7640850b39fdd155ef to your computer and use it in GitHub Desktop.
Config file for nginx unit running fastapi in docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"listeners": { | |
"*:80": { | |
"pass": "applications/fastapi" | |
} | |
}, | |
"applications": { | |
"fastapi": { | |
"type": "python 3.9", | |
"path": "/fastapi", | |
"home": "/usr/local", | |
"module": "asgi", | |
"callable": "app" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment