@ai-lion/lforward

一个自动集成 https 证书的http反向代理转发命令

Usage no npm install needed!

<script type="module">
  import aiLionLforward from 'https://cdn.skypack.dev/@ai-lion/lforward';
</script>

README

一个自动集成 https 证书的http反向代理转发命令

使用

命令
lforward -c config.json

管理后台: 本地hosts做一下域名映射: 127.0.0.1  www.lforward.me

www.lforward.me


config.json 配置

{
   "port": 80,
   "sslPort": 443,
   "services": [
      {
         "subject": "127.0.0.1",
         "altnames": ["127.0.0.1"],
         "hosts": [
            {
               "host": "127.0.0.1",
               "port": 8051
            }
         ]
      }
   ]
}