作者 yangfu

监听https

@@ -24,4 +24,5 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories @@ -24,4 +24,5 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
24 WORKDIR /root/ 24 WORKDIR /root/
25 COPY --from=builder /go/src/opp . 25 COPY --from=builder /go/src/opp .
26 EXPOSE 8080 26 EXPOSE 8080
  27 +EXPOSE 443
27 CMD ["./opp"] 28 CMD ["./opp"]
  1 +-----BEGIN RSA PRIVATE KEY-----
  2 +MIIEowIBAAKCAQEAjlYTMGgbnNvRnlNpSBXkXCC9FGcRjHnZb5ez/bgatsUawan9
  3 +Ou4a92X2cF1xQvALrvV8FgNpkUL4o8XUeWAN4DWOpSNKNUyEYy68jXr4FSUFSBEt
  4 +UytZrAWd5K+nvdNiACZFUfNyCDy2vs1mBtsA9TVyJEjk2MU+xMjCg8Jiv4LwGJze
  5 +33x7VDi/qurbaWQpLHvpsrDTtaC51s+JWu5etK1rDO45gjpo6QmaSuNxkuPAjJVO
  6 +1qwCf0Fz5H3EHiVFmz09nVbFCH/7a/d8WB1NMNRZAEOkOLUdVFLkrINMawcWBqx4
  7 +dl+ODIa8D50IiHuAbx4j6kXbNkDpQAYz+zOmNQIDAQABAoIBAB+bfyLgd4NHcB7V
  8 +vHsgu2d28K37blLwywdkG3jj3XDJR9YKMtzXe58FIirVIT3hUuLdChtUUijLA65Q
  9 +k8yJN0Oa+Qx0T/oSfhKNUhsj27vMTwYwJE3EAmN4EtYx6JC3hFtupDWc1y17mAQ6
  10 +VeX/U5DgN7LVihYWBQiLYWCDdcy7iBCCdgODHv1Zp6/Y1XLv5L9vUU1XK1GcIgZb
  11 +Ubbql6np6tzQm3LMS1xyhl4vwFSRDx9sSZ9C6dWlNT+3qLNjnPCsvY6709DgGgYz
  12 +Qu3C31uxDLzjS4KAYbOMmJl/knzyyhXHvRb1hz7kOsdmzUGOZl9ga/bcIbzDm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BQcDAQYIKwYBBQUHAwIwNQYDVR0fBC4w
  51 +LDAqoCigJoYkaHR0cDovL3N1YmNhLmNybC5jZXJ0dW0ucGwvY3RuY2EuY3JsMGsG
  52 +CCsGAQUFBwEBBF8wXTAoBggrBgEFBQcwAYYcaHR0cDovL3N1YmNhLm9jc3AtY2Vy
  53 +dHVtLmNvbTAxBggrBgEFBQcwAoYlaHR0cDovL3JlcG9zaXRvcnkuY2VydHVtLnBs
  54 +L2N0bmNhLmNlcjA5BgNVHSAEMjAwMC4GBFUdIAAwJjAkBggrBgEFBQcCARYYaHR0
  55 +cDovL3d3dy5jZXJ0dW0ucGwvQ1BTMA0GCSqGSIb3DQEBCwUAA4IBAQCLBeq0MMgd
  56 +qULSuAua1YwHNgbFAAnMXd9iiSxbIKoSfYKsrFggNCFX73ex4b64iIhQ2BBr82/B
  57 +MNpC4rEvnr1x0oFv8DBO1GYimQaq8E9hjnO1UYYEPelVsykOpnDLklTsBZ4vhhq/
  58 +hq1mbs+6G+vsAjO9jVnuxP6toOTNBqvURRumMF0P165MoFdh0kzSjUts+1d8Llnb
  59 +DJaZht0O19k1ZdBBmPD3cwbTI+tChOELAVt4Nb5dDGPWqSxc5Nl2j95T3aK1KL2d
  60 +2vV16DSVShJIz04QHatcJlNZLJDbSu70c5fPU8YiJdRpfkubANAmwcDB+uNhtYz+
  61 +zEji0KnE2oNA
  62 +-----END CERTIFICATE-----
  63 +-----BEGIN CERTIFICATE-----
  64 +MIIEtDCCA5ygAwIBAgIRAJOShUABZXFflH8oj+/JmygwDQYJKoZIhvcNAQELBQAw
  65 +PjELMAkGA1UEBhMCUEwxGzAZBgNVBAoTElVuaXpldG8gU3AuIHogby5vLjESMBAG
  66 +A1UEAxMJQ2VydHVtIENBMB4XDTA4MTAyMjEyMDczN1oXDTI3MDYxMDEwNDYzOVow
  67 +fjELMAkGA1UEBhMCUEwxIjAgBgNVBAoTGVVuaXpldG8gVGVjaG5vbG9naWVzIFMu
  68 +QS4xJzAlBgNV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fbXD+pLgvPdDWl7Qk8jrr+pf8vTQDZvcX2slhrqhcgI5G/WEIgq4aOh8vis7  
24 -TQac+3UCgYAMS0k2lv8k0TBf+XlsK2oJNamxjrTkLpEKhPTCLEI0uP5CxR6UNHFA  
25 -jeotW/ms+AyaZUXTt8+wQ4/JbhSuMWDbTO5KMzlVI5biDEu48YVFYUgnlXlvKRA7  
26 -qC7q6Opss26RP+HYXBdHObVvNkTxB49kirwMzbwSjG3xFQsopaeS6g==  
27 ------END RSA PRIVATE KEY-----  
@@ -21,7 +21,7 @@ yunpian_sms_sdk_url ="https://sms.yunpian.com/v2/sms/single_send.json" @@ -21,7 +21,7 @@ yunpian_sms_sdk_url ="https://sms.yunpian.com/v2/sms/single_send.json"
21 yunpian_app_key ="0bf6fb10a11a68a95dee80901eb545b5" 21 yunpian_app_key ="0bf6fb10a11a68a95dee80901eb545b5"
22 22
23 #存储 http://ability.fjmaimaimai.com:8080/ 23 #存储 http://ability.fjmaimaimai.com:8080/
24 -source_host ="http://mmm-opp-test.fjmaimaimai.com/" 24 +source_host ="https://mmm-opp-test.fjmaimaimai.com/"
25 source_virtual_path=file/opp 25 source_virtual_path=file/opp
26 source_path ="${aliyun_file_access||/var/www/opp/file}" 26 source_path ="${aliyun_file_access||/var/www/opp/file}"
27 27
@@ -87,11 +87,11 @@ func main() { @@ -87,11 +87,11 @@ func main() {
87 beego.InsertFilter("file/opp/*", beego.BeforeStatic, FilterBeforeStatic) 87 beego.InsertFilter("file/opp/*", beego.BeforeStatic, FilterBeforeStatic)
88 88
89 //https 89 //https
90 - //beego.BConfig.Listen.EnableHTTPS = true  
91 - //beego.BConfig.Listen.Graceful = true  
92 - //beego.BConfig.Listen.HTTPSPort = 8089  
93 - //beego.BConfig.Listen.HTTPSCertFile = "conf/server.crt"  
94 - //beego.BConfig.Listen.HTTPSKeyFile = "conf/server.key" 90 + beego.BConfig.Listen.EnableHTTPS = true
  91 + beego.BConfig.Listen.Graceful = true
  92 + beego.BConfig.Listen.HTTPSPort = 443
  93 + beego.BConfig.Listen.HTTPSCertFile = "conf/_.fjmaimaimai.com_bundle.crt"
  94 + beego.BConfig.Listen.HTTPSKeyFile = "conf/_.fjmaimaimai.com.key"
95 contrab.Run() 95 contrab.Run()
96 96
97 beego.Run() 97 beego.Run()