ubuntu18.04配置nginx反向代理-(2)

1、调整/usr/local/nginx/conf下的nginx.conf

1.1、调整端口:80->8099

1.2、在location加上flink的访问地址

 proxy_pass http://192.168.2.132:8081

2、启动flink

cd /app/flink/flink-1.11.1/bin
 ./start-cluster.sh

3、启动nginx

/usr/local/nginx/sbin

./nginx

4、验证

访问:http://192.168.2.132:8099/

猜你喜欢

转载自blog.csdn.net/XJF199001/article/details/121585084