mirror of
https://github.com/bitwarden/server.git
synced 2025-04-22 05:25:10 -05:00
added proxy prefix
This commit is contained in:
parent
afd72b26eb
commit
a25710e756
@ -137,12 +137,12 @@ namespace Bit.Setup
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
int httpReversePort = default(int), httpsReversePort = default(int);
|
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(int.TryParse(Console.ReadLine().ToLowerInvariant().Trim(), out httpReversePort))
|
||||||
{
|
{
|
||||||
if(ssl)
|
if(ssl)
|
||||||
{
|
{
|
||||||
Console.Write("(!) HTTPS port: ");
|
Console.Write("(!) Proxy HTTPS port: ");
|
||||||
if(int.TryParse(Console.ReadLine().ToLowerInvariant().Trim(), out httpsReversePort))
|
if(int.TryParse(Console.ReadLine().ToLowerInvariant().Trim(), out httpsReversePort))
|
||||||
{
|
{
|
||||||
if(httpsReversePort != 443)
|
if(httpsReversePort != 443)
|
||||||
@ -152,7 +152,7 @@ namespace Bit.Setup
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("Invalid HTTPS port.");
|
Console.WriteLine("Invalid proxy HTTPS port.");
|
||||||
httpReversePort = httpsReversePort = default(int);
|
httpReversePort = httpsReversePort = default(int);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -163,7 +163,7 @@ namespace Bit.Setup
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("Invalid HTTP port.");
|
Console.WriteLine("Invalid proxy HTTP port.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user