mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Allow opening a https port using only http so that nginx can be used for ssl
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user