diff options
| author | crupest <crupest@outlook.com> | 2022-11-26 08:50:35 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-11-26 08:50:35 +0800 |
| commit | c493b05cc33ac61bc52e7e3a7b813a9b5ec72905 (patch) | |
| tree | 1c2a9d950e0bae54eb5744ed1206f729ba3335bf | |
| parent | 8a2cc331e42ca1b0fd66451fd6492ea41266f7db (diff) | |
| download | timeline-c493b05cc33ac61bc52e7e3a7b813a9b5ec72905.tar.gz timeline-c493b05cc33ac61bc52e7e3a7b813a9b5ec72905.tar.bz2 timeline-c493b05cc33ac61bc52e7e3a7b813a9b5ec72905.zip | |
ASPNETCORE_FORWARDEDHEADERS_ENABLED back!
| -rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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
|
