created major large-scale changes
This commit is contained in:
17
roles/init-server/templates/user/all.env.j2
Normal file
17
roles/init-server/templates/user/all.env.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
{% if compose.mode == "dev" %}
|
||||
SERVER_FQDN_SCHEME=http
|
||||
SERVER_FQDN={{ (certbot.domains | map("regex_replace", "\\.([^\\.]*)$", ".test") | reject("regex", "^\\*\\.") | list)[0] }}
|
||||
{% elif compose.mode == "prod" %}
|
||||
SERVER_FQDN_SCHEME=https
|
||||
SERVER_FQDN={{ (certbot.domains | reject("regex", "^\\*\\.") | list)[0] }}
|
||||
{% endif %}
|
||||
|
||||
{% if nextcloud.subdomain is defined and nextcloud != None %}
|
||||
NEXTCLOUD_SUBDOMAIN={{ nextcloud.subdomain }}
|
||||
{% endif %}
|
||||
{% if gitea is defined and gitea != None %}
|
||||
GITEA_SUBDOMAIN={{ gitea.subdomain }}
|
||||
{% endif %}
|
||||
{% if gist is defined and gist != None %}
|
||||
OG_SUBDOMAIN={{ gist.subdomain }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user