AWX and SSL

As in a previous post, I really don’t want to have to go in and change up the docker image if I don’t have to, so I found in an internet search of a way to do SSL for Ansible, and it was to install the Docker image of Ansible then load up NGINX and redirect to AWX in the Docker image pointing to like port 8555.

I figure If I don’t mess with the Docker image with changes, upgrading should be easier. I am new to AWX and to Docker, so changing and re-writing with virtually no support, at least paid support.

Any other ways, this is working, but I would like to have other ideas.

Thank you
Daniel

Hello,

There are two variables in the inventory where you can set the SSL certificate and key when installing AWX.
https://github.com/ansible/awx/blob/devel/installer/inventory#L68

In case of a Docker-compose installation, they will be mounted inside the Nginx container and used to serve AWX with TLS
https://github.com/ansible/awx/blob/devel/installer/roles/local_docker/templates/docker-compose.yml.j2#L43

Please mount cert in appropriate dir in docker