Skip to content

Commit

Permalink
force SSL for web
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 28, 2024
1 parent 10a49a5 commit 9dc805c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/fastly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
src: resp.http.Location
substitution: "{{ domains[0].name }}"
type: response
request_settings: "{{ item.request_settings | default(omit) }}"
vars:
domains: "{{ item.domains | default([{'name': item.service ~ '.theforeman.org'}]) }}"
with_items:
Expand All @@ -60,3 +61,6 @@
domains:
- name: theforeman.org
- name: www.theforeman.org
request_settings:
- name: force TLS
force_ssl: 1

0 comments on commit 9dc805c

Please sign in to comment.