1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

real ips config

This commit is contained in:
Kyle Spearrin
2019-04-26 12:26:54 -04:00
parent acfacf69a2
commit 6dc2e1b328
3 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
namespace Bit.Setup
@ -78,6 +78,7 @@ namespace Bit.Setup
Ssl = context.Config.Ssl;
Domain = context.Config.Domain;
Url = context.Config.Url;
RealIps = context.Config.RealIps;
if(Ssl)
{
@ -129,6 +130,7 @@ namespace Bit.Setup
public string SslCiphers { get; set; }
public string SslProtocols { get; set; }
public string ContentSecurityPolicy => string.Format(NginxConfigBuilder.ContentSecurityPolicy, Domain);
public List<string> RealIps { get; set; }
}
}
}