https://github.com/nexys-system/fwd-request
https://github.com/nexys-system/fwd-request
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nexys-system/fwd-request
- Owner: nexys-system
- Created: 2023-02-17T09:03:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T09:50:47.000Z (over 2 years ago)
- Last Synced: 2025-01-24T02:59:53.781Z (4 months ago)
- Language: Dockerfile
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Request forwarding
[](https://github.com/nexys-system/fwd-request/actions/workflows/publish.yml)
based on https://stackoverflow.com/a/52859434/1659569
## Run
`TARGET=https://xxx.com node src/index.js`
Docker is published too
## Env Var
* `TARGET`: target host
* `PORT`: port on which the server runs, default 3000