Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steren/simple-url-proxy-server
Simple server that proxies a pre-defined URL
https://github.com/steren/simple-url-proxy-server
Last synced: about 1 month ago
JSON representation
Simple server that proxies a pre-defined URL
- Host: GitHub
- URL: https://github.com/steren/simple-url-proxy-server
- Owner: steren
- License: apache-2.0
- Created: 2021-07-17T19:39:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-18T17:49:00.000Z (over 3 years ago)
- Last Synced: 2024-10-05T11:41:37.050Z (about 2 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple server that proxies a pre-defined URL
## Configuration
Configure with the following env vars:
* `URL` (Required): URL of the page to return
* `AUTH_TOKEN` (Optional): HTTP auth-token, defaults to none.## Build and run locally
```
$ docker build -t simple-get-server .
$ docker run -p8080:8080 -e URL= simple-get-server
```## Deploy to Cloud Run
Click this button:
[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run)
Or type the following:
```
$ gcloud beta run deploy --source . --update-env-vars URL=
```