简体   繁体   English

Nginx 代理到入口 nginx controller

[英]Nginx proxy to ingress nginx controller

Is it possible to use nginx proxy_pass without defining any location block?是否可以在不定义任何位置块的情况下使用 nginx proxy_pass ?

Just send all incoming requests to nginx proxy to ingress controller.只需将所有传入请求发送到 nginx 代理到入口 controller。

According to Nginx documentation the only possible way to define proxy_pass directive is location context:根据Nginx 文档,定义proxy_pass指令的唯一可能方法是location上下文:

Context: location, if in location, limit_except

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM