摘要:
生成密码文件 yum -y install httpd 生成密码文件 #/apps/openresty/nginx/passwd/为密码所在文件夹,.htpasswd为生成的文件 #htpasswd -c(覆盖) -b(直接从命令行获取密码) -m使用MD5加密 -s使用crypt()加密 #-D从 阅读全文
摘要:
location /setup { stub_status; #启用模块监控 #出于安全,可以引用nginx密码验证 auth_basic "login password"; auth_basic_user_file /apps/nginx/passwd/.htpasswd ; #也可以增加ip限制 阅读全文
摘要:
需要安装的插件 build-user-vars-plugin Build Timestamp 其中,pipeline内容如下 pipeline { agent any stages { stage('build') { steps { sh 'pwd' } } stage('test') { ste 阅读全文