Skip to content

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

Configuration Syntax

${aspnet-response-https-compression}
Clone this wiki locally