summaryrefslogtreecommitdiff
path: root/docker/collector/nginx.conf
diff options
context:
space:
mode:
authorKristofer Hallin <kristofer@sunet.se>2021-11-17 09:39:30 +0100
committerKristofer Hallin <kristofer@sunet.se>2021-11-17 09:44:37 +0100
commitfadb0f24bb55697a1ba34611a4288d12e25065d1 (patch)
tree75e2c197625d660baaa7c41ecab40575e68c1fbd /docker/collector/nginx.conf
parentbd5e9b5a7a188295d8731d560dff1e59c1587666 (diff)
Use Uvicorn since we now run FastAPI which uses ASGI.
Diffstat (limited to 'docker/collector/nginx.conf')
-rw-r--r--docker/collector/nginx.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/collector/nginx.conf b/docker/collector/nginx.conf
index 8a816e4..adcb4da 100644
--- a/docker/collector/nginx.conf
+++ b/docker/collector/nginx.conf
@@ -6,8 +6,7 @@ server {
error_log /var/log/nginx/error.log warn;
location / {
- include uwsgi_params;
- uwsgi_pass uwsgi://localhost:8000;
+ proxy_pass http://localhost:8000;
}
} \ No newline at end of file