Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
haproxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Zillmann
haproxy
Commits
198c9140
You need to sign in or sign up before continuing.
Commit
198c9140
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Implement support for trusted domains in Drupal, that won't get redirected like the aliases
parent
444db171
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/host_list
+4
-1
4 additions, 1 deletion
templates/host_list
templates/host_ssl_list
+4
-1
4 additions, 1 deletion
templates/host_ssl_list
with
8 additions
and
2 deletions
templates/host_list
+
4
−
1
View file @
198c9140
...
...
@@ -3,13 +3,16 @@
{% endfor %}
{% for drupal in hostvars[item].drupal_settings|default([]) %}
{% for domain in drupal.domains|default([]) %}
{% if domain.route_by_domain|default(true) %}
{% if domain.protocol|default('https') == 'http' %}
{% if domain.route_by_domain|default(true) %}
{{domain.domain}}
{% for alias in domain.aliases|default([]) %}
{{alias}}
{% endfor %}
{% endif %}
{% for trusted_domain in domain.trusted_domains|default([]) %}
{{trusted_domain}}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
This diff is collapsed.
Click to expand it.
templates/host_ssl_list
+
4
−
1
View file @
198c9140
...
...
@@ -3,13 +3,16 @@
{% endfor %}
{% for drupal in hostvars[item].drupal_settings|default([]) %}
{% for domain in drupal.domains|default([]) %}
{% if domain.route_by_domain|default(true) %}
{% if domain.protocol|default('https') == 'https' %}
{% if domain.route_by_domain|default(true) %}
{{domain.domain}}
{% for alias in domain.aliases|default([]) %}
{{alias}}
{% endfor %}
{% endif %}
{% for trusted_domain in domain.trusted_domains|default([]) %}
{{trusted_domain}}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment