https://github.com/jsn/gae-mirror
Very basic http reverse proxy for Google App Engine
https://github.com/jsn/gae-mirror
appengine golang google-app-engine proxy reverse-proxy
Last synced: 28 days ago
JSON representation
Very basic http reverse proxy for Google App Engine
- Host: GitHub
- URL: https://github.com/jsn/gae-mirror
- Owner: jsn
- License: mit
- Created: 2020-02-28T01:39:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T15:45:10.000Z (almost 6 years ago)
- Last Synced: 2023-04-11T17:11:23.356Z (almost 3 years ago)
- Topics: appengine, golang, google-app-engine, proxy, reverse-proxy
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Google App Engine Reverse Http Proxy
====================================
A very basic http reverse proxy for Google App Engine. It proxies all http
requests to whatever upstream URL you specified in your app.yaml. We use it to
circumvent Internet censorship in Russia.
How to deploy
-------------
If you don't have google-cloud-sdk w/ app-engine-go (these might be ArchLinux-specific):
* Get google-cloud-sdk. Install at home, not via package manager :/
* Do $WHATEVER/bin/gcloud init
* Do $WHATEVER/bin/gcloud components install app-engine-go
Then, here:
* Replace UPSTREAM env var in app.yaml with your upstream URL,
* $WHATEVER/bin/gcloud app deploy --project YOUR-GAE-PROJECT
* if it works on resulting url, do
$WHATEVER/bin/gcloud app deploy --project YOUR-GAE-PROJECT --promote