Ansible tower behind nginx

28 views
Skip to first unread message

Luvpreet Singh

unread,
Jul 3, 2017, 2:52:05 AM7/3/17
to Ansible Project
On the official page, it is said that to host ansible tower behind nginx, you need to provide headers in the `/etc/tower/conf.d/remote_host_headers.py` file.

But, in my `/etc/tower/` folder, there is no `conf.d/remote_host_headers.py` file.

    awx@server:/etc/tower$ tree
    .
    ├── conf.d
    │   ├── caching.py
    │   ├── celeryd.py
    │   ├── ha.py
    │   ├── postgres.py
    │   └── rabbitmq.py
    ├── SECRET_KEY
    ├── settings.py
    ├── settings.py.20170629122404
    ├── tower.cert
    └── tower.key


How can I host ansible tower via nginx  ?

Uwe Sauter

unread,
Jul 3, 2017, 2:53:41 AM7/3/17
to ansible...@googlegroups.com
An uneducated guess: did you try to create the missing file?
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> To post to this group, send email to ansible...@googlegroups.com <mailto:ansible...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/bbd88041-d99c-4a65-a099-d77f3fa2ffb1%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/bbd88041-d99c-4a65-a099-d77f3fa2ffb1%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Luvpreet Singh

unread,
Jul 3, 2017, 3:01:17 AM7/3/17
to Ansible Project, uwe.sa...@gmail.com
Okay, and can you help me with that what to do in nginx file  ?


On Monday, July 3, 2017 at 12:23:41 PM UTC+5:30, Uwe Sauter wrote:
An uneducated guess: did you try to create the missing file?


Am 03.07.2017 um 08:52 schrieb Luvpreet Singh:
> On the official page, it is said that to host ansible tower behind nginx, you need to provide headers in the
> `/etc/tower/conf.d/remote_host_headers.py` file.
>
> But, in my `/etc/tower/` folder, there is no `conf.d/remote_host_headers.py` file.
>
>     awx@server:/etc/tower$ tree
>     .
>     ├── conf.d
>     │   ├── caching.py
>     │   ├── celeryd.py
>     │   ├── ha.py
>     │   ├── postgres.py
>     │   └── rabbitmq.py
>     ├── SECRET_KEY
>     ├── settings.py
>     ├── settings.py.20170629122404
>     ├── tower.cert
>     └── tower.key
>
>
> How can I host ansible tower via nginx  ?
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages