Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ internal class ProxyHeaderModule : IHttpModule
private const string ServerPort = "SERVER_PORT";
private const string ForwardedProto = "x-forwarded-proto";
private const string ForwardedHost = "x-forwarded-host";
private const string On = "ON";
private const string Off = "OFF";
private const string On = "on";
private const string Off = "off";

private readonly IOptions<ProxyOptions> _options;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public class ProxyHeaderModuleTests
private const string ServerName = "SERVER_NAME";
private const string ServerPort = "SERVER_PORT";
private const string ServerHttps = "HTTPS";
private const string On = "ON";
private const string Off = "OFF";
private const string On = "on";
private const string Off = "off";

[Fact]
public void NoHeaderChange()
Expand Down