1
0
mirror of https://github.com/bitwarden/server synced 2025-12-13 14:53:34 +00:00

stub install

This commit is contained in:
Kyle Spearrin
2019-03-15 09:28:39 -04:00
parent feea862872
commit 0f7963f79c
3 changed files with 21 additions and 1 deletions

View File

@@ -14,6 +14,15 @@ namespace Bit.Setup
public void BuildForInstall()
{
if(_context.Stub)
{
_context.Config.Ssl = true;
_context.Install.Trusted = true;
_context.Install.SelfSignedCert = false;
_context.Install.DiffieHellman = false;
return;
}
_context.Config.Ssl = _context.Config.SslManagedLetsEncrypt;
if(!_context.Config.Ssl)