Skip to content

Commit 826b73f

Browse files
committed
readme
1 parent ba48574 commit 826b73f

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,7 @@ dotnet dev-certs https --trust
7676

7777
```
7878
79-
1.2 Running the container with cert
80-
81-
```
82-
docker pull mcr.microsoft.com/dotnet/samples:aspnetapp
83-
docker run --rm -it -p 8000:80 -p 8001:443 -e ASPNETCORE_URLS="https://+;http://+" -e ASPNETCORE_HTTPS_PORTS=8001 -e ASPNETCORE_Kestrel__Certificates__Default__Password="mypassword234" -e ASPNETCORE_Kestrel__Certificates__Default__Path=/https/dotnetapi-boilerplate.pfx -v ${HOME}/.aspnet/https:/https/
84-
85-
```
86-
87-
2. The application will be available at `http://localhost:7000` and `https://localhost:7001` (or the configured URL).
79+
2. The application will be available at `http://localhost:8000` and `https://localhost:8001` (or the configured URL).
8880
8981
### Health Check Endpoint
9082

src/NetAPI.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@NetAPI_HostAddress = http://localhost:7000
1+
@NetAPI_HostAddress = http://localhost:8000
22

33
GET {{NetAPI_HostAddress}}/health/
44
Accept: application/json

src/Properties/launchSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"commandName": "Project",
66
"dotnetRunMessages": true,
77
"launchBrowser": true,
8-
"applicationUrl": "http://localhost:7000",
8+
"applicationUrl": "http://localhost:8000",
99
"environmentVariables": {
1010
"ASPNETCORE_ENVIRONMENT": "Development"
1111
}
@@ -14,7 +14,7 @@
1414
"commandName": "Project",
1515
"dotnetRunMessages": true,
1616
"launchBrowser": false,
17-
"applicationUrl": "https://localhost:7001;http://localhost:7000",
17+
"applicationUrl": "https://localhost:8001;http://localhost:8000",
1818
"environmentVariables": {
1919
"ASPNETCORE_ENVIRONMENT": "Development"
2020
}

0 commit comments

Comments
 (0)