临时使用一下还行
先开启frp的https监听,在frps.ini中增加
vhost_https_port=443
记录一个配置文件:
SSLCipherSuite AESGCM:ALL:!DH:!EXPORT:!RC4:+HIGH:!MEDIUM:!LOW:!aNULL:!eNULL;
SSLProtocol all -SSLv2 -SSLv3
Listen 443
<VirtualHost *:443>
ServerName ****.com:443
DocumentRoot "D:/www"
SSLEngine on
SSLCertificateFile "D:/xampp/apache/conf/fullchain.pem"
SSLCertificateKeyFile "D:/xampp/apache/conf/privkey.pem"
SSLCertificateChainFile "D:/xampp/apache/conf/chain.pem"
SSLOptions +StdEnvVars
</VirtualHost>
frpc.ini配置需要把type定义为https即可,示例代码如下:
[web_qsn]
type = https
local_port = 443
use_encryption = false
use_compression = true
custom_domains =*****.com