S
S
Stepan Gervik2019-09-08 18:37:55
System administration
Stepan Gervik, 2019-09-08 18:37:55

How to forward an outgoing request?

There is a program that makes a request to a specific url (let it be example.com/api/query.php) and passes some parameters via POST. How can I redirect all outgoing traffic from this path to, for example, second-example.com/second-api/index.php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
athacker, 2019-09-08
@HiLevel

man nginx proxy_pass, Luke!
https://www.liaoh!u!q!i!u.net/posts/nginx-proxy-pass/
P/S/: Remove exclamation marks from the link, otherwise the toaster parser won't let it pass - swearing sees it .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question