# How to enable https in awx

**URL:** <https://forum.ansible.com/t/how-to-enable-https-in-awx/2213>\
**Category:** Get Help\
**Tags:** awx-operator, awx\
**Created:** [November 7, 2023, 5:43pm UTC](https://forum.ansible.com/t/how-to-enable-https-in-awx/2213 "2023-11-07T17:43:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [November 8, 2023, 5:58am UTC](https://forum.ansible.com/t/how-to-enable-https-in-awx/2213/2 "2023-11-08T05:58:51Z")

</div>

To enable HTTPS for AWX, you should use Ingress with TLS configuration.

Create TLS Secret first,

> **[Secrets](https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets)**
>
> A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don't need to include...

then specify following three lines for AWX CR and apply it.

```yaml
---
spec:
  ...
  ingress_type: ingress
  ingress_tls_secret: <your tls secret>
  hostname: <your fqdn>
  ...

```

Refer to the AWX Operator docs for details for the specs:

> <https://github.com/ansible/awx-operator/blob/devel/docs/user-guide/network-and-tls-configuration.md>

---

_[View the full topic](https://forum.ansible.com/t/how-to-enable-https-in-awx/2213)._
