Running Ansible Tower behind nginx

0 votes

To run ansible tower behind nginx, I need to provide headers in file according to the documentation. But I cannot find this file.

Feb 1, 2019 in Ansible by Jeena

1 answer to this question.

0 votes

Hey @Jeena, you should find it at /etc/tower/conf.d/, It looks like this for me

# HTTP headers and meta keys to search to determine remote host name or IP. Add
# additional items to this list, such as "HTTP_X_FORWARDED_FOR", if behind a
# reverse proxy.
# Note: The headers will be searched in order and the first found remote host
# name or IP will be used.
# In the below example would be the chosen IP address.
# X-Forwarded-For:,,
# Host:

# This setting is now configured via the Tower API.

answered Feb 1, 2019 by Anisha

Related Questions In Ansible

0 votes
1 answer
+1 vote
2 answers

Running ansible command on a single server when it is deployed to multiple servers

You can try the run_once attribute: Example from ...READ MORE

answered Jun 13, 2018 in Ansible by DareDev
• 6,890 points
0 votes
1 answer

Permission denied when running ansible playbook through jenkins

Jenkins uses it's own user to execute ...READ MORE

answered Jun 25, 2018 in Ansible by DareDev
• 6,890 points
0 votes
1 answer

Deploy nginx using Ansible

Follow these steps: Use the following command in ...READ MORE

answered Jan 8, 2019 in Ansible by Barbara
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
+1 vote
3 answers