aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-26 08:50:35 +0800
committercrupest <crupest@outlook.com>2022-11-26 08:50:35 +0800
commitc493b05cc33ac61bc52e7e3a7b813a9b5ec72905 (patch)
tree1c2a9d950e0bae54eb5744ed1206f729ba3335bf /Dockerfile
parent8a2cc331e42ca1b0fd66451fd6492ea41266f7db (diff)
downloadtimeline-c493b05cc33ac61bc52e7e3a7b813a9b5ec72905.tar.gz
timeline-c493b05cc33ac61bc52e7e3a7b813a9b5ec72905.tar.bz2
timeline-c493b05cc33ac61bc52e7e3a7b813a9b5ec72905.zip
ASPNETCORE_FORWARDEDHEADERS_ENABLED back!
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 7a02a510..9ab009b9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,6 +13,7 @@ RUN dotnet publish Timeline/Timeline.csproj --configuration Release --output ./T
FROM mcr.microsoft.com/dotnet/aspnet:6.0
ENV ASPNETCORE_URLS=http://0.0.0.0:5000
+ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
WORKDIR /app
COPY --from=back-build /timeline-app/Timeline/publish .
EXPOSE 5000