[ 
https://issues.apache.org/jira/browse/CXF-7485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152794#comment-16152794
 ] 

Sergey Beryozkin commented on CXF-7485:
---------------------------------------

Starting from CXF 3.1.13 and 3.2.0 setting a 
"cxf.servlet.init.use-x-forwarded-headers=true" will do, the property is 
already supported now but only really does something useful with 
X-Forwarded-Proto and X-Forwarded-For, ignoring all other X-Forwarded headers 
which are set by Zuul

> Reverse proxy url is not reflected in Swagger UI response
> ---------------------------------------------------------
>
>                 Key: CXF-7485
>                 URL: https://issues.apache.org/jira/browse/CXF-7485
>             Project: CXF
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 3.1.12
>            Reporter: na sam 
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.13, 3.2.0
>
>
> I am using Swagger2Feature to generate the swagger out of my REST service 
> classes. 
> All the url's that is being generated are based on deployed server's web 
> path. Its working directly in my server. But If the request comes via reverse 
> proxy, then in my  swagger ui response I am seeing still same my local 
> server's webpath instead of one coming via reverse proxy.
> Need a way to support reverse proxy web path.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to