From 94b24792ac6eca4c27f4d3b9bb974cce4774a02f Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 18 Aug 2019 14:04:04 +1000 Subject: Add HTTPS configs. --- bin/Robust.ini | 6 +++--- bin/config-include/config_IG.ini | 2 ++ bin/config-include/config_MG.ini | 2 ++ bin/config-include/config_localhost.ini | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bin/Robust.ini b/bin/Robust.ini index 66e60a6..705ffad 100644 --- a/bin/Robust.ini +++ b/bin/Robust.ini @@ -567,20 +567,20 @@ ; helper uri: optional: if it exists it will be used to tell the client to use ; this for all economy related things - ;economy = ${Const|BaseURL}/economy + ;economy = ${Const|SSLURL}:${Const|PublicSSLPort}/economy ; web page of grid: optional: page providing further information about your grid about = ${Const|BaseURL}:${Const|PublicPort}/web/about.html ; account creation: optional: page providing further information about obtaining ; a user account on your grid - register = ${Const|BaseURL}:${Const|PublicPort}/web/register.html + register = ${Const|SSLURL}:${Const|PublicSSLPort}/web/account.html ; help: optional: page providing further assistance for users of your grid help = ${Const|BaseURL}:${Const|PublicPort}/web/help.html ; password help: optional: page providing password assistance for users of your grid - password = ${Const|BaseURL}:${Const|PublicPort}/web/password_help.html + password = ${Const|SSLURL}:${Const|PublicSSLPort}/web/password_help.html ; HG address of the gatekeeper, if you have one ; this is the entry point for all the regions of the world diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 186f728..bd809bf 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -35,9 +35,11 @@ HostName = "grid.infinitegrid.org" BaseURL = ${Const|BaseHostname} GridURL = ${Const|BaseHostname} + SSLURL = "https://${Const|HostName}" PublicPort = "8002" PrivatePort = "8003" + PublicSSLPort = "8443" ; The public port of the ROBUST asset server, which might be different. AssetServerPort = "8003" diff --git a/bin/config-include/config_MG.ini b/bin/config-include/config_MG.ini index 62b523c..862f7b8 100644 --- a/bin/config-include/config_MG.ini +++ b/bin/config-include/config_MG.ini @@ -35,9 +35,11 @@ HostName = "misfitzgrid.com" BaseURL = ${Const|BaseHostname} GridURL = ${Const|BaseHostname} + SSLURL = "https://${Const|HostName}" PublicPort = "8002" PrivatePort = "8003" + PublicSSLPort = "8443" ; The public port of the ROBUST asset server, which might be different. AssetServerPort = "8003" diff --git a/bin/config-include/config_localhost.ini b/bin/config-include/config_localhost.ini index c0a376e..501a1f4 100644 --- a/bin/config-include/config_localhost.ini +++ b/bin/config-include/config_localhost.ini @@ -35,9 +35,11 @@ HostName = "localhost" BaseURL = ${Const|BaseHostname} GridURL = ${Const|BaseHostname} + SSLURL = "https://${Const|HostName}" PublicPort = "8002" PrivatePort = "8003" + PublicSSLPort = "8443" ; The public port of the ROBUST asset server, which might be different. AssetServerPort = "8003" -- cgit v1.1