Skip to content
Snippets Groups Projects
Commit 41a2d8b6 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible/playbooks/general#115 Replace underscore with hyphen for...

ansible/playbooks/general#115 Replace underscore with hyphen for LAKEDROPS_BUILD_NG as the underscore is not allowed in subdomain names
parent 8c6f20da
Branches
Tags
1 merge request!72Merging develop into main
Pipeline #922068 passed
......@@ -228,7 +228,7 @@ class Handler extends BaseHandler {
'$SSH_AUTH_SOCK';
}
$this->config->setValue('projectroot', $projectRoot, FALSE);
$this->config->setValue('projectdomain', $this->config->readValue('projectname') . '.' . $traefik['domain'], FALSE);
$this->config->setValue('projectdomain', str_replace('_', '-', $this->config->readValue('projectname')) . '.' . $traefik['domain'], FALSE);
$this->config->setValue('projectprotocol', 'http' . ($traefik['usessl'] ? 's' : ''), FALSE);
$projectport = '';
if ($traefik['usessl'] && (int) $traefik['ports'] !== 443) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment