Enable X-Forwarded-* headers using env var instead of code

This commit is contained in:
2024-07-11 21:45:04 +01:00
parent 6abff69bcb
commit 4c62cded56
2 changed files with 1 additions and 9 deletions

View File

@ -30,6 +30,7 @@ COPY --from=build2 /src/Groceries/config.ini /config/
RUN apk add --no-cache icu-libs tzdata
ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
ENV ASPNETCORE_HTTP_PORTS=80
ENV DOTNET_ENABLEDIAGNOSTICS=0
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false