1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-11 16:18:14 -05:00

added proxy prefix

This commit is contained in:
Kyle Spearrin 2017-11-20 07:57:26 -05:00
parent afd72b26eb
commit a25710e756

View File

@ -137,12 +137,12 @@ namespace Bit.Setup
else
{
int httpReversePort = default(int), httpsReversePort = default(int);
Console.Write("(!) HTTP port: ");
Console.Write("(!) Proxy HTTP port: ");
if(int.TryParse(Console.ReadLine().ToLowerInvariant().Trim(), out httpReversePort))
{
if(ssl)
{
Console.Write("(!) HTTPS port: ");
Console.Write("(!) Proxy HTTPS port: ");
if(int.TryParse(Console.ReadLine().ToLowerInvariant().Trim(), out httpsReversePort))
{
if(httpsReversePort != 443)
@ -152,7 +152,7 @@ namespace Bit.Setup
}
else
{
Console.WriteLine("Invalid HTTPS port.");
Console.WriteLine("Invalid proxy HTTPS port.");
httpReversePort = httpsReversePort = default(int);
}
}
@ -163,7 +163,7 @@ namespace Bit.Setup
}
else
{
Console.WriteLine("Invalid HTTP port.");
Console.WriteLine("Invalid proxy HTTP port.");
}
}
}