From ea7409556a63948b4fac119409ca4743657d3187 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 26 Mar 2023 08:52:35 +0200 Subject: [PATCH] Add proxy headers --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a648eb9..bf1a190 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN apk add --no-cache --update libmagic \ COPY . . -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "main:app", "--host", "127.0.0.1", "--port", "8000", "--proxy-headers"]