Skip to content

Use APISix as Reverse Proxy #12137

Answered by dosubot bot
felipemesturini asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @felipemesturini! I'm Dosu, your friendly bot here to help you tackle bugs, answer questions, and guide you in becoming a contributor. I'm looking forward to assisting you while we wait for a human maintainer.

To configure APISIX as a reverse proxy similar to your Apache setup, you can use the proxy-rewrite plugin to handle URI rewriting and host preservation. Here's how you can achieve this:

  1. Proxy URI Rewriting: Use the proxy-rewrite plugin to rewrite the URI path. This is similar to the ProxyPass and ProxyPassReverse directives in Apache.

  2. Preserve Host Header: To preserve the host header, similar to ProxyPreserveHost On, ensure that the Host header is set correctly in the req…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by felipemesturini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant