-
Notifications
You must be signed in to change notification settings - Fork 1.4k
AspNet Response HTTPS Compression Layout Renderer
Rolf Kristensen edited this page Jul 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 in Asp.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
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json