Skip to content

How do I redirect to another domain name? #5576

Closed Answered by jasonwilliams14
kyrofa asked this question in Q&A
Discussion options

You must be logged in to vote

@kyrofa Hello there! If you are using our CRD, you can do this quite easily with action.redirect:

https://docs.nginx.com/nginx-ingress-controller/configuration/virtualserver-and-virtualserverroute-resources/#actionredirect

if you are using Ingress resource, then yea, you would need to do use snippets or create a custom annotation.
HTH

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@kyrofa
Comment options

Answer selected by kyrofa
Comment options

You must be logged in to vote
1 reply
@jasonwilliams14
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants