Update ip forwarding logic

rendering
Liza 2023-02-09 23:13:19 +01:00
parent f8b77b9aa9
commit 84a6f1e0a1
1 changed files with 2 additions and 1 deletions

View File

@ -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