$ ls -lrt
-rw-r--r-- 1 root root 826 May 10 10:56 nginx.conf
$ pwd
/etc/nginx
在http {}里
upstream nginx_zuul {
server XXXX: 8769;
}
server {
listen 80;
location / {
proxy_pass http://nginx_zuul;
proxy_set_header Host $host:$server_port;
}
}
XXXX:8769是zuul的ip和端口
原文:https://www.cnblogs.com/ouyida3/p/9031717.html