Skip to content

Commit

Permalink
CLDR-13771 ansible: fix proxy so users don't all appear as 127.0.0.1 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Sep 12, 2020
1 parent 23f6b2e commit ac68b02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/scripts/ansible/setup-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
proxy_pass http://localhost:8080/cldr-apps/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
}
marker: '# {mark} ANSIBLE MANAGED BLOCK'
insertafter: '^[\s]*server_name' # the LAST uncommented server block
Expand All @@ -91,7 +92,7 @@
user:
name: surveytool
shell: /bin/bash
- name: Give acess to surveytool user
- name: Give access to surveytool user
file:
path: /var/lib/tomcat8/cldr/cldr-trunk
owner: surveytool
Expand Down

0 comments on commit ac68b02

Please sign in to comment.