[GitHub] [apisix] Horus-K commented on issue #5847: request help: proxy_pass cannot use https

2021-12-20 Thread GitBox


Horus-K commented on issue #5847:
URL: https://github.com/apache/apisix/issues/5847#issuecomment-997803900


   bushi 


-- 
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-unsubscr...@apisix.apache.org

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




[GitHub] [apisix] Horus-K commented on issue #5847: request help: proxy_pass cannot use https

2021-12-19 Thread GitBox


Horus-K commented on issue #5847:
URL: https://github.com/apache/apisix/issues/5847#issuecomment-997625617


   location / {
   index index.html;
   proxy_pass https://xxx.com;
   
   proxy_set_header Host $proxy_host;
   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_ssl_session_reuse off;
   proxy_ssl_server_name on;
   proxy_ssl_name $proxy_host;
   proxy_ssl_protocols TLSv1.2;
   }  that's it


-- 
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-unsubscr...@apisix.apache.org

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




[GitHub] [apisix] Horus-K commented on issue #5847: request help: proxy_pass cannot use https

2021-12-19 Thread GitBox


Horus-K commented on issue #5847:
URL: https://github.com/apache/apisix/issues/5847#issuecomment-997537822


   > Please describe your architecture elaborately.
   
   And I need to know how to use proxy_pass https


-- 
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-unsubscr...@apisix.apache.org

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




[GitHub] [apisix] Horus-K commented on issue #5847: request help: proxy_pass cannot use https

2021-12-19 Thread GitBox


Horus-K commented on issue #5847:
URL: https://github.com/apache/apisix/issues/5847#issuecomment-997536530


   > Please describe your architecture elaborately.
   
   We have 5 nginx online servers, we need to use proxy_pass to gray some 
traffic to apisix


-- 
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-unsubscr...@apisix.apache.org

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




[GitHub] [apisix] Horus-K commented on issue #5847: request help: proxy_pass cannot use https

2021-12-16 Thread GitBox


Horus-K commented on issue #5847:
URL: https://github.com/apache/apisix/issues/5847#issuecomment-996483968


   i see this https://github.com/apache/apisix/issues/2257 but ret_code still 
not work 
   
![image](https://user-images.githubusercontent.com/48319268/146503014-7d7c15f9-b70b-4f81-9b89-bb419d6d6cca.png)
   
![image](https://user-images.githubusercontent.com/48319268/146503021-71ad7aa0-bd5d-4cd7-bafb-32dd5ca1ede3.png)
   


-- 
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-unsubscr...@apisix.apache.org

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




[GitHub] [apisix] Horus-K commented on issue #5847: request help: proxy_pass cannot use https

2021-12-16 Thread GitBox


Horus-K commented on issue #5847:
URL: https://github.com/apache/apisix/issues/5847#issuecomment-996475958


   I used ingress-nginx to start force https, return code 308, proxy_pass can 
use https
   On apisix, I used https forwarding and set ret_code 308. In the end, 
proxy_pass still redirected too many 301 and was not accessible


-- 
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-unsubscr...@apisix.apache.org

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




[GitHub] [apisix] Horus-K commented on issue #5847: request help: proxy_pass cannot use https

2021-12-16 Thread GitBox


Horus-K commented on issue #5847:
URL: https://github.com/apache/apisix/issues/5847#issuecomment-996469750


   If proxy_pass uses http, then the route cannot be enabled to force https, 
otherwise there will be too many 301 redirects


-- 
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-unsubscr...@apisix.apache.org

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