Enable X-Forwarded-* headers using env var instead of code
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user