美文网首页
flask 用 https 转发配置

flask 用 https 转发配置

作者: Vissioon | 来源:发表于2017-11-21 16:51 被阅读269次
    # yum install stunnel
    # openssl req -new -x509 -days 365 -nodes -out vpsee.pem -keyout vpsee.pem
    # chmod 600 vpsee.pem
    # vim https
    
    pid = /tmp/stunnel_pid
    cert = vpsee.pem
    debug = 7
    foreground = yes
    [https]
    accept = 443
    connect = 8000
    
    # stunnel https

    相关文章

      网友评论

          本文标题:flask 用 https 转发配置

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