Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lizhengnacl/host-proxy
map the port to 80
https://github.com/lizhengnacl/host-proxy
hosts port tool
Last synced: about 12 hours ago
JSON representation
map the port to 80
- Host: GitHub
- URL: https://github.com/lizhengnacl/host-proxy
- Owner: lizhengnacl
- Created: 2016-12-30T09:43:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T18:14:33.000Z (over 2 years ago)
- Last Synced: 2024-04-18T08:30:25.446Z (7 months ago)
- Topics: hosts, port, tool
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> Map the port to 80
config in the `host-port.md` file, and the run the command below
```
sudo node index.js
```the `host-port.md` file looks like this.
```
#dev
127.0.0.1 oa.dev.neixin.cn 9002
127.0.0.1 oa.web.xm.test.sankuai.com 9002
127.0.0.1 qa.neixin.cn 9800
127.0.0.1 web.xm.test.sankuai.com 9800
127.0.0.1 test.admin.dev.neixin.cn 9003
127.0.0.1 admin.dev.neixin.cn 9005#st
127.0.0.1 oa.xm.st.neixin.cn 9002
127.0.0.1 oa.st.neixin.cn 9002
127.0.0.1 test.xm.st.sankuai.com 9800
127.0.0.1 st.neixin.cn 9800
127.0.0.1 st.x.sankuai.com 9800#pro
127.0.0.1 neixin.cn 9800
127.0.0.1 x.sankuai.com 9800
```