Search code examples
jhipsternetflix-zuuljhipster-registry

Jhipster Gateway Zuul Route


Hi I'm adding the zuul route as below to register in the jhipster gateway and it is successful.

routes:
    myhost:
        path: /greeting/**
        url: http://localhost:8080

However, it is appending the url as below after registration.

http://localhost:8282/greeting/greeting

I am expecting http://localhost:8282/myhost/greeting/

What value should I pass under zuul route to get the above url. Thanks in advance.


Solution

  • I assigned empty value to the path. Now the url is generated as expected