From 16c9db43229c1ba077269dc21bc28fba3d4584c5 Mon Sep 17 00:00:00 2001 From: Natan Lao Date: Fri, 2 Feb 2024 00:06:06 -0800 Subject: [PATCH] fix http links being rendered in template, i think the form submit path is being rendered with an http:// URL instead of an https:// URL which is bad and causes a warning to be shown by the browser. for reasons i will not enumerate i think this will fix it --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 89fdec6..6a07e4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY templates/ /app/templates COPY yaas.py /app/main.py USER appuser -CMD ["uvicorn", "main:app", "--forwarded-allow-ips", "--host", "0.0.0.0", "--port", "8123"] +CMD ["uvicorn", "main:app", "--proxy-headers", "--forwarded-allow-ips", "--host", "0.0.0.0", "--port", "8123"]