Skip to content

Commit

Permalink
tendrl-server: use server name for ssl redirection
Browse files Browse the repository at this point in the history
tendrl-bug-id: Tendrl/api#302
  • Loading branch information
mbukatov committed Sep 25, 2017
1 parent 5e9dbef commit 82a2747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/tendrl-server/tasks/httpd-ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
lineinfile:
path: /etc/httpd/conf.d/tendrl.conf
regexp: ' *#? *Redirect permanent / https://.*/'
line: " Redirect permanent / https://{{ httpd_ip_address }}/"
line: " Redirect permanent / https://{{ httpd_server_name }}/"
notify:
- restart httpd

Expand Down

0 comments on commit 82a2747

Please sign in to comment.