Nginx请求转发 2019-10-16 tonglin0325 1.比如说我要将127.0.0.1/topics上的所有请求转发到xxx:xxx/上 修改 sudo vim /etc/nginx/nginx.conf 12345678910server { listen 80; server_name 127.0.0.1; location /topics { #root html; #index index.html index.htm; proxy_pass http://xxx:xxx; } } 使用filebeat发送nginx日志到kafka Nexus上传npm包