feat: add project setup for monitoring and TLS — csproj, config options, ServerInfo TLS fields
Add FrameworkReference to Microsoft.AspNetCore.App to enable Kestrel Minimal APIs for the monitoring HTTP server. Remove the now-redundant Microsoft.Extensions.Logging.Abstractions PackageReference (it is included transitively via the framework reference). Add monitoring config properties (MonitorPort, MonitorHost, MonitorBasePath, MonitorHttpsPort) and TLS config properties (TlsCert, TlsKey, TlsCaCert, TlsVerify, TlsHandshakeFirst, etc.) to NatsOptions. Add TlsRequired, TlsVerify, and TlsAvailable fields to ServerInfo so the server can advertise TLS capability in the INFO protocol message.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
|
||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user