Skip to content

Commit

Permalink
Ansible enable tls
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Feb 11, 2024
1 parent 4201f60 commit 6d07e69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ motis:
hosts:
spline-vm-motis:
ansible_user: root
ansible_host: 130.133.110.196
ansible_host: vm-motis.spline.de
cert_domains:
- transitous.jbb.ghsq.de
- api.transitous.jbb.ghsq.de
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/motis/files/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ modules=intermodal
#modules=address
#modules=tiles
#modules=osrm
#modules=ppr
modules=ppr
#modules=parking
modules=nigiri

Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/nginx/files/transitous.jbb.ghsq.de.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ server {
}

location ~ ^/$ {
if ($arg_motis != http%3A%2F%2Fapi.transitous.jbb.ghsq.de) {
return 301 http://$host?motis=http%3A%2F%2Fapi.transitous.jbb.ghsq.de;
if ($arg_motis != https%3A%2F%2Fapi.transitous.jbb.ghsq.de) {
return 301 https://$host?motis=https%3A%2F%2Fapi.transitous.jbb.ghsq.de;
}

root /opt/motis/web/;
Expand Down

0 comments on commit 6d07e69

Please sign in to comment.