zoukankan      html  css  js  c++  java
  • 第1年7月13日 nginx*tomcat

    1.

    server {
        listen 443;
        server_name 127.0.0.1;
        ssl on;
        root /var/www/wtf443;
        index index.html index.htm;
        ssl_certificate  cert/server.pem;
        ssl_certificate_key cert/privkey.key;
        ssl_session_timeout 5m;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
        location / {
            proxy_pass http://127.0.0.1:8080;
            #index index.html index.htm;
        }
    }
    server {
        listen 80;
        server_name 127.0.0.1;
        rewrite ^(.*)$ https://$host$1 permanent;
    }

    https://www.jianshu.com/p/b843e60f9aea

  • 相关阅读:
    mongo常用查询
    MongoDB
    python连接mongo
    linux 硬盘
    kali 日志
    linux 命令
    grep
    linux shell
    linux 匹配字符串是否为数字
    linux 第一题 计算题
  • 原文地址:https://www.cnblogs.com/javastart/p/15006705.html
Copyright © 2011-2022 走看看