# Need help to translate ingress-nginx annotations to NGINX-ingress

**URL:** <https://community.nginx.org/t/need-help-to-translate-ingress-nginx-annotations-to-nginx-ingress/8406>\
**Category:** NGINX Ingress Controller\
**Tags:** ingress-nginx, annotations, config, reverse-proxy\
**Created:** [November 26, 2025, 6:39am UTC](https://community.nginx.org/t/need-help-to-translate-ingress-nginx-annotations-to-nginx-ingress/8406 "2025-11-26T06:39:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![albertmoreno](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@albertmoreno](https://community.nginx.org/u/albertmoreno)\
**Post date:** [November 26, 2025, 6:39am UTC](https://community.nginx.org/t/need-help-to-translate-ingress-nginx-annotations-to-nginx-ingress/8406/1 "2025-11-26T06:39:08Z")

</div>

_Please use this template for troubleshooting questions._

**My issue: Need to translate annotation from ingress-nginx**

**How I encountered the problem: Trying to create an ingress template**

**Solutions I’ve tried: n/a**

**Version of NIC and/or NGINX: nginx-ingress 2.2.2**

**Deployment environment: AWS EKS cluster**

Hi all,

I’m trying to translate those annotations from nginx-ingress controller to NGINX-ingress:

```auto
    nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    nginx.ingress.kubernetes.io/proxy-body-size: 20M
    nginx.ingress.kubernetes.io/configuration-snippet: |
      rewrite ^/app-name(/|$)(.*) /$2 break;

```

I can not find any way to translate ☹

Need help from community.

Would be very appreciated

Regards

---

<div class="post-metadata">

**Author:** ![Micheal\_Kingston](https://drob5swvtjqxg.cloudfront.net/user_avatar/community.nginx.org/micheal_kingston/32/3810_2.png) [@Micheal\_Kingston](https://community.nginx.org/u/Micheal_Kingston)\
**Post date:** [November 26, 2025, 10:57am UTC](https://community.nginx.org/t/need-help-to-translate-ingress-nginx-annotations-to-nginx-ingress/8406/2 "2025-11-26T10:57:17Z")

</div>

Hi Alberto.

Thank you for your post!

Our supported annotations can be found here: [NGINX Ingress Controller Advanced Configuration with Annotations](https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/). They are not identical to the ingress-nginx annotations, but the good news is that you can achieve the same functionality using nginx-ingress annotations.

- `nginx.ingress.kubernetes.io/rewrite-target` will be available in our upcoming release in early December (less than 2 weeks away): [PR #8508](https://github.com/nginx/kubernetes-ingress/pull/8508).

- `nginx.ingress.kubernetes.io/ssl-redirect` is called `ingress.kubernetes.io/ssl-redirect` in nginx-ingress.

- `nginx.ingress.kubernetes.io/proxy-body-size` is used to set the maximum size of a client request body. This corresponds to `client_max_body_size`, which can be achieved with `nginx.org/client-max-body-size` in our version.

- `nginx.ingress.kubernetes.io/configuration-snippet` is separated into server and location snippets (`nginx.org/location-snippets` and `nginx.org/server-snippets`). Which one to use depends on where the snippet needs to be included in the NGINX configuration. From looking at yours, I think it’s a location snippet. 🙂

Hope this helps!

Micheal

---

<div class="post-metadata">

**Author:** ![albertmoreno](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@albertmoreno](https://community.nginx.org/u/albertmoreno)\
**Post date:** [November 27, 2025, 6:46am UTC](https://community.nginx.org/t/need-help-to-translate-ingress-nginx-annotations-to-nginx-ingress/8406/3 "2025-11-27T06:46:19Z")

</div>

> [@Micheal\_Kingston](#):
>
> Micheal

Hi Micheal,

Great!!! your information will be very useful for us!!!

Thanks.

---

<div class="post-metadata">

**Author:** ![ve.patel](https://avatars.discourse-cdn.com/v4/letter/v/f14d63/32.png) [@ve.patel](https://community.nginx.org/u/ve.patel)\
**Post date:** [December 10, 2025, 4:11pm UTC](https://community.nginx.org/t/need-help-to-translate-ingress-nginx-annotations-to-nginx-ingress/8406/4 "2025-12-10T16:11:43Z")

</div>

hey @albertmoreno rewrite-target is now available in 5.3.0 release in NIC

---

<div class="post-metadata">

**Author:** ![system](https://drob5swvtjqxg.cloudfront.net/user_avatar/community.nginx.org/system/32/19_2.png) [@system](https://community.nginx.org/u/system)\
**Post date:** [January 9, 2026, 4:12pm UTC](https://community.nginx.org/t/need-help-to-translate-ingress-nginx-annotations-to-nginx-ingress/8406/5 "2026-01-09T16:12:10Z")

</div>

Closed on January 9, 2026, 4:12pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
