How to change the hostname, port or protocol in the Location header on the redirect response by EAP 7/Undertow?

Solution Verified - Updated -

Issue

  • How can I change the hostname, port or protocol in the Location header on the redirect response by EAP 7 (Undertow)? I used proxy-name, proxy-port or scheme attributes for connector in EAP 6 (JBossWeb). Is there any equivalent parameters in EAP 7?
  • How can I configure a proxy-name and proxy-port in EAP 7 (Undertow)?
  • What is the replacement of proxy-name, proxy-port and scheme for Undertow in JBoss EAP 7?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In