Optionally enforce an HTTP => HTTPS redirect.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4116 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-01-11 23:39:42 +00:00
parent 3b00b31e87
commit 4d4cc92150
2 changed files with 15 additions and 0 deletions

View File

@ -27,6 +27,11 @@ const k_global_settings = {
default_value: undefined,
description: 'Code of conduct presented at sign-in.',
},
http_redirect: {
type: 'string',
default_value: undefined,
description: 'If connecting by HTTP and HTTPS is configured, Location header prefix (ie, "https://example.com")',
},
};
var gGlobalSettings = {