Allow opening a https port using only http so that nginx can be used for ssl

This commit is contained in:
Melanie Thielker
2014-04-26 02:42:30 +02:00
parent c77cd6adc7
commit 5c661baf6c
3 changed files with 44 additions and 20 deletions

View File

@@ -41,6 +41,7 @@ namespace OpenSim.Framework
// "Out of band" managemnt https
public bool ssl_listener = false;
public bool ssl_external = false;
public uint https_port = 0;
public string cert_path = String.Empty;
public string cert_pass = String.Empty;
@@ -64,6 +65,7 @@ namespace OpenSim.Framework
// "Out of band management https"
ssl_listener = config.Configs["Network"].GetBoolean("https_listener",false);
ssl_external = config.Configs["Network"].GetBoolean("https_external",false);
if( ssl_listener)
{
cert_path = config.Configs["Network"].GetString("cert_path",String.Empty);