Nginx(5)

作者: StarShift | 来源:发表于2016-12-03 01:12 被阅读34次
    upstream backend {
         #ip_hash;
         server 192.168.125.128:443;
         server 192.168.125.130:443;
    }
    
    server {
            listen       443;
            server_name  trffweb;
            ssl on;
            ssl_session_timeout 5m;
            keepalive_timeout 70;
            ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
            ssl_ciphers HIGH:!aNULL:!MD5;
            ssl_prefer_server_ciphers on;
            ssl_certificate /etc/nginx/ssl/server.crt;
            ssl_certificate_key /etc/nginx/ssl/server.key;
            location / {
    
                 #反向代理的地址
                 proxy_pass https://backend;
            }
    
    }
    
    

    相关文章

      网友评论

          本文标题:Nginx(5)

          本文链接:https://www.haomeiwen.com/subject/orvzpttx.html