fix(tmail-web): add DOMAIN_REDIRECT_URL to injected env file
Append DOMAIN_REDIRECT_URL=mail.<domain> to the env.file written for the container so tmail-web redirects to the configured mail subdomain.
This commit is contained in:
parent
9650772767
commit
dccaca5720
|
|
@ -30,7 +30,7 @@ variable "server_url" {
|
|||
locals {
|
||||
env_file_host_path = "/opt/storage/data/tmail-web/env.file"
|
||||
env_file_container_path = "/usr/share/nginx/html/assets/env.file"
|
||||
env_file_content = "SERVER_URL=${var.server_url}\n"
|
||||
env_file_content = "SERVER_URL=${var.server_url}\nDOMAIN_REDIRECT_URL=mail.${var.server_domain}\n"
|
||||
}
|
||||
|
||||
resource "null_resource" "tmail_env_file" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue