# simple-proxy **Repository Path**: lijinbode/simple-proxy ## Basic Information - **Project Name**: simple-proxy - **Description**: 简单的代理配置,基于 http-proxy-middleware 可以快速配置一个代理服务器 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-07-12 - **Last Updated**: 2022-07-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: Nodejs ## README # 简单的代理服务器 ## 开始 - 执行命令 `npm run dev` 运行代理服务器 - 浏览器打开 `http://localhost:6789` 可进行可视化配置 - 手动 json 配置示例 创建配置文件 `public/proxyList.json` 如下配置即可 ```json [ { "id": "fef110e3-410b-fc79-d900-4bb8ac726086", "title": "模拟接口", "head": "/work", "value": "http://localhost:7586", "requestLog": 0, "list": [ { "name": "本地", "url": "http://localhost:7586" }, { "name": "线上", "url": "http://1.2.3.4:8899" } ] } ] ```