- Notifications
You must be signed in to change notification settings - Fork1.4k
AspNet Response HTTPS Compression Layout Renderer
Rolf Kristensen edited this pageJul 24, 2022 ·2 revisions
ASP.NET Response HTTPS Compression Mode
- Default (0) - No value has been specified, use the configured defaults.
- DoNotCompress (1) - Opts out of compression over HTTPS. Enabling compression on HTTPS requests for remotely manipulable content may expose security problems.
- Compress (2) - Opts into compression over HTTPS. Enabling compression on HTTPS requests for remotely manipulable content may expose security problems.
Platforms Supported:Limited (Only supported inAsp.NetCore)
Introduced with NLog.Web.AspNetCore v5.1.0
${aspnet-response-https-compression}-Troubleshooting Guide - See available NLog Targets and Layouts:https://nlog-project.org/config
- All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json