gae-mirror

command module
v0.0.0-...-02ab901 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2020 License: MIT Imports: 6 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL