Flink web UI configuration account password, permission control

Since the web UI interface that comes with Flink does not have an account password, this effect needs to be achieved through nginx.

 

1. Install the httpd-tools tool

yum install httpd-tools -y

2. Generate username and password file

htpasswd -c /usr/local/nginx/conf/flinkuser username passwd

 flinkuser: the name of the generated username and password file

username: username

passwd: password

3. nginx configuration

 

 

Guess you like

Origin blog.csdn.net/weixin_38959210/article/details/131628649