在官方页面上,据说要在 nginx 后面托管 ansible tower,您需要在/etc/tower/conf.d/remote_host_headers.py
文件中提供 headers。
但是,在我的/etc/tower/
文件夹中,没有conf.d/remote_host_headers.py
文件。
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
如何通过 nginx 托管 ansible 塔?