From 84a6f1e0a1fa0346a1fab411574a0f19224bb7ab Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Thu, 9 Feb 2023 23:13:19 +0100 Subject: [PATCH] Update ip forwarding logic --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6e3f7ad..b52a582 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime EXPOSE 5415 ENV DOTNET_ENVIRONMENT=Production ENV ASPNETCORE_URLS= -ENV DATADIRECTORY=/data +ENV DataDirectory=/data +ENV UseForwardedIp=true ENV Kestrel__Endpoints__Http2__Url=http://+:5415 RUN adduser --uid 2000 --disabled-password --group --no-create-home --quiet --system pal