Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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=
```