Skip to content

Commit 50f189a

Browse files
Apply suggestions from code review
1 parent 1fa52c4 commit 50f189a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

aspnetcore/security/includes/docker-compose-https7.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ services:
6565
environment:
6666
- ASPNETCORE_ENVIRONMENT=Development
6767
- ASPNETCORE_URLS=https://+:443;http://+:80
68-
- ASPNETCORE_Kestrel__Certificates__Default__Password=$CREDENTIAL_PLACEHOLDER$
68+
- ASPNETCORE_Kestrel__Certificates__Default__Password=-\0pw-
6969
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
7070
volumes:
7171
- ~/.aspnet/https:/https:ro
7272
```
73-
The password specified in the docker compose file must match the password used for the certificate. In the preceding commands, replace `$CREDENTIAL_PLACEHOLDER$` with a password.
73+
The password specified in the docker compose file must match the password used for the certificate. In the preceding commands, replace `-\0pw-` with a password.
7474

7575

7676
Start the container with ASP.NET Core configured for HTTPS:
@@ -144,12 +144,13 @@ services:
144144
environment:
145145
- ASPNETCORE_ENVIRONMENT=Development
146146
- ASPNETCORE_URLS=https://+:443;http://+:80
147-
- ASPNETCORE_Kestrel__Certificates__Default__Password=$CREDENTIAL_PLACEHOLDER$
147+
- ASPNETCORE_Kestrel__Certificates__Default__Password=-\0pw-
148148
- ASPNETCORE_Kestrel__Certificates__Default__Path=C:\https\aspnetapp.pfx
149149
volumes:
150150
- ${USERPROFILE}\.aspnet\https:C:\https:ro
151151
```
152-
The password specified in the docker compose file must match the password used for the certificate. In the preceding commands, replace `$CREDENTIAL_PLACEHOLDER$` with a password.
152+
```suggestion
153+
The password specified in the docker compose file must match the password used for the certificate. In the preceding commands, replace `-\0pw-` with a password.
153154

154155

155156
Start the container with ASP.NET Core configured for HTTPS:

0 commit comments

Comments
 (0)