summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vscode/launch.json5
-rw-r--r--Dockerfile2
-rw-r--r--static/footer.html0
-rw-r--r--static/header.html0
4 files changed, 4 insertions, 3 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 93a8c43..c1fed22 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -24,9 +24,10 @@
"--log-config",
"./log_config.json",
"--workers",
- "1"
+ "1", "--proxy-headers"
],
- "console": "integratedTerminal"
+ "console": "integratedTerminal",
+ "justMyCode": false
},
{
"name": "celery",
diff --git a/Dockerfile b/Dockerfile
index bd7f189..b2c4145 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,4 +4,4 @@ COPY . /app
WORKDIR /app
RUN pip install -r ./requirements.txt
-CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--log-config", "./log_config.json"] \ No newline at end of file
+CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--log-config", "./log_config.json", "--proxy-headers"] \ No newline at end of file
diff --git a/static/footer.html b/static/footer.html
deleted file mode 100644
index e69de29..0000000
--- a/static/footer.html
+++ /dev/null
diff --git a/static/header.html b/static/header.html
deleted file mode 100644
index e69de29..0000000
--- a/static/header.html
+++ /dev/null