You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/21 03:08:43 UTC

[GitHub] [apisix] chenyongzhi001 opened a new issue, #7956: help request: how to proxy_pass url such as "baidu.com" ?

chenyongzhi001 opened a new issue, #7956:
URL: https://github.com/apache/apisix/issues/7956

   ### Description
   
    server_name  www.a.com
       location /api/ {
               proxy_pass https://www.b.com/;
           }
   how to config that in apisix-dashboard ?
   use response-rewrite or proxy-rewrite ?
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7956: help request: how to proxy_pass url such as "baidu.com" ?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7956:
URL: https://github.com/apache/apisix/issues/7956#issuecomment-1254489937

   As a reminder, do not use baidu.com as a test upstream, they will have some policies to restrict proxy access.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] hf400159 commented on issue #7956: help request: how to proxy_pass url such as "baidu.com" ?

Posted by GitBox <gi...@apache.org>.
hf400159 commented on issue #7956:
URL: https://github.com/apache/apisix/issues/7956#issuecomment-1253232063

   > and how to config upstream ? just 127.0.0.1: 80 or what ?
   
   I didn't understand. You can configure upstream to any accessible address. please refer to [getting-start](https://apisix.apache.org/docs/apisix/next/getting-started/#create-a-route).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] shreemaan-abhishek commented on issue #7956: help request: how to proxy_pass url such as "baidu.com" ?

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #7956:
URL: https://github.com/apache/apisix/issues/7956#issuecomment-1707684802

   @chenyongzhi001 you can use proxy-rewrite to achieve this, please reopen the issue if you have more questions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] chenyongzhi001 commented on issue #7956: help request: how to proxy_pass url such as "baidu.com" ?

Posted by GitBox <gi...@apache.org>.
chenyongzhi001 commented on issue #7956:
URL: https://github.com/apache/apisix/issues/7956#issuecomment-1253150629

   and how to config upstream ?   just 127.0.0.1: 80 or what ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] shreemaan-abhishek closed issue #7956: help request: how to proxy_pass url such as "baidu.com" ?

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek closed issue #7956: help request: how to proxy_pass url  such as  "baidu.com" ?
URL: https://github.com/apache/apisix/issues/7956


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org