Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Nginx agents jenkins and kibana based on SSL

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Server {server_name hanye-jenkins.hanye.net; access_log / data/wwwlogs/jenkins-web.access.log; error_log / data/wwwlogs/jenkins-web.error.log; listen 443 ssl; ssl_certificate / usr/local/nginx/conf/ssl/hanye.net.pem; ssl_certificate_key / usr/local/nginx/conf/ssl/hanye.net.key; ssl_session_timeout 10m; ssl_buffer_size 64k Ssl_session_cache shared:SSL:10m; ssl_ciphers ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv3; ssl_prefer_server_ciphers on; location ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv3; ssl_prefer_server_ciphers on; location / {proxy_pass http://127.0.0.1:8080; proxy_redirect default; # proxy_http_version 1.1 Proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_max_temp_file_size 0; # this is the maximum upload size client_max_body_size 10m; client_body_buffer_size 128k Proxy_connect_timeout 120; proxy_send_timeout 120; proxy_read_timeout 120; proxy_buffering off; proxy_request_buffering off; # Required for HTTP CLI commands in Jenkins > 2.54 proxy_set_header Connection ""; # Clear for keepalive} location / oss {expires 3D; rewrite / (. +) $/ $1 break Proxy_pass https://fangx.oss-cn-shenzhen.aliyuncs.com/fangx/source/ZPMOQ2xjSwmBvNB1scM7JYwAgqCJvueKYlWbjlsu.png;}} server {server_name hanye-es.hanye.net; access_log / data/wwwlogs/es-web.access.log; error_log / data/wwwlogs/es-web.error.log; listen 443 ssl; auth_basic "Nginx"; auth_basic_user_file / usr/local/nginx/conf/passwd; autoindex on Ssl_certificate / usr/local/nginx/conf/ssl/hanye.net.pem; ssl_certificate_key / usr/local/nginx/conf/ssl/hanye.net.key; ssl_session_timeout 10m; ssl_buffer_size 64k; ssl_session_cache shared:SSL:10m; ssl_ciphers ECDHEMurRSAmuri AES128Murashi GCMMerSHA256Vise ECDHEVECDH HIGH Vista null LLRV ANULLRV MD5WR ADHWOR RC4 Ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv3; ssl_prefer_server_ciphers on; location / {proxy_pass http://10.0.109.17:5601; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr Proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_max_temp_file_size 0; # this is the maximum upload size client_max_body_size 10m; client_body_buffer_size 128k; proxy_connect_timeout 120; proxy_send_timeout 120; proxy_read_timeout 120 Proxy_buffering off; proxy_request_buffering off; # Required for HTTP CLI commands in Jenkins > 2.54 proxy_set_header Connection ""; # Clear for keepalive}}

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report