Commit 6b6617

2024-10-08 14:33:39 Hargata Softworks: b
advanced/https.md ..
@@ 19,12 19,17 @@
ASPNETCORE_Kestrel__Certificates__Default__Path=/https/<yourPFXCertificateName>.pfx
ASPNETCORE_URLS=https://+:443;http://+:80
```
- 3. Open and modify docker-compose.yml. You will need to bind a new volume to the Docker container so that Kestrel can access the certificate file, additionally check the port bindings to ensure that traffic is being forwarded to port 443
+ 3. Open and modify docker-compose.yml. You will need to bind a new volume to the Docker container so that Kestrel can access the certificate file.
```
volumes:
- ~/https/:/https:ro
```
- 4. Run `docker-compose up -d` to start up the container and `https://localhost` will now have a valid cert.
+ 4. additionally check the port bindings to ensure that traffic is being forwarded to port 443
+ ```
+ ports:
+ - 443:443
+ ```
+ 5. Run `docker-compose up -d` to start up the container and `https://localhost` will now have a valid cert.
## Windows
If you're running LubeLogger as the standalone Windows executable, first read [this article by Microsoft](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-8.0#configure-https-in-appsettingsjson)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9