为本地 HTTP 服务启用 HTTPS

    1. frps.ini 内容如下:

      1. [common]
      2. server_addr = x.x.x.x
      3. server_port = 7000
      4. custom_domains = test.yourdomain.com
      5. plugin = https2http
      6. plugin_local_addr = 127.0.0.1:80
      7. plugin_crt_path = ./server.crt
      8. plugin_key_path = ./server.key
      9. plugin_host_header_rewrite = 127.0.0.1
      10. plugin_header_X-From-Where = frp
    2. 分别启动 frps 和 frpc。