Skip to content

Conversation

johnwc
Copy link

@johnwc johnwc commented May 13, 2022

Removed reference to much older reference to v0.25, as it's now on version v1.2 4 years later.
Updated instructions on applying needed change via manifest file.
Added clearer title for NGINX config, so installer knows where config should be applied.

Removed reference to much older reference to v0.25, as it's now on version v1.2 4 years later.
Updated instructions on applying needed change via manifest file.
Added clearer title for NGINX config, so installer knows where config should be applied.
@btat btat requested a review from snasovich May 19, 2022 20:08
In NGINX v0.25, the behavior of NGINX has [changed](https://github.com/kubernetes/ingress-nginx/blob/master/Changelog.md#0220) regarding forwarding headers and external TLS termination. Therefore, in the scenario that you are using external TLS termination configuration with NGINX v0.25, you must edit the `cluster.yml` to enable the `use-forwarded-headers` option for ingress:
In the scenario that you are using external TLS termination configuration with NGINX, you must enable the `use-forwarded-headers` option for ingress:

Create a `/var/lib/rancher/rke2/server/manifests/rke2-ingress-nginx-config.yaml` file with the following contents on one of your rke2 nodes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes we're using RKE2 while this page doesn't seem to be RKE2 specific - the only occurrences of "RKE2" term are in added content.

I think we should cover non-RKE2 cases as well.

Adding @kinarashah as "all things NGINX" expert to review as well.

@snasovich snasovich requested a review from kinarashah July 1, 2022 13:58
johnwc and others added 2 commits July 2, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants