Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Forward traffic to destination path on the pool

Antonio_Elves
Nimbostratus
Nimbostratus

I am trying to forward the traffic, but I am using a destination path on the pool. Example:

There are three paths:

Source URL - https://teste.com.br

Destination URL - https://abx.com.br/

Source URL - https:/teste.com.br/api/

Destination URL - https://abx.com.br/app/api/

Source URL - https:/teste.com.br/websocket/

Destination URL - https://abx.com.br/app/websocket/

 

I tried to use a rewrite policy but It didn't work.

The URL on the client can not change.

 

I have two pools, one default pool forwarding "/" and another pool to forward the WebSocket and api. My big problem is because of the path on the destination server, /app/api/ and /app/websocket/, when the client access /api/ and /WebSocket/. 

 

It needs to work as a reverse proxy. On Nginx works well using three locations where each location to forward according to proxy_pass.

0 REPLIES 0