zoukankan      html  css  js  c++  java
  • Nginx 配置 HTTPS SSL 代理

    配置文件如下:

    #user  nobody;
    worker_processes  1;
      
    events {
        worker_connections  1024;
    }
    
    
    http {
        include       mime.types;
        default_type  application/octet-stream;
     
        sendfile        on; 
        keepalive_timeout  65;
     
        upstream tomcats{ 
         server www.ironfo.com:443; 
        }
     
        server {
            listen       80;
            server_name  localhost;
     
            location / { 
                proxy_pass https://tomcats;
                index  index.html index.htm;
            }
      
            error_page   500 502 503 504  /50x.html;
            location = /50x.html {
                root   html;
            } 
        } 
    }
    [root@localhost sbin]# ./nginx -V
    nginx version: nginx/1.12.2
    built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) 
    built with OpenSSL 1.0.2k-fips  26 Jan 2017
    TLS SNI support enabled
    configure arguments: --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-stream --with-stream_ssl_preread_module --with-stream_ssl_module
    [root@localhost sbin]# 
  • 相关阅读:
    哈希表--扩展数组
    哈希表效率
    P=(1+1/(1-L))/2
    函数推进
    简单函数2
    简单函数
    getting data from the keybroad
    nutch-2.2.1 hadoop-1.2.1 hbase-0.92.1 集群部署(实用)
    hbase zookeeper独立搭建
    Orchard 介绍
  • 原文地址:https://www.cnblogs.com/vipsoft/p/11530838.html
Copyright © 2011-2022 走看看