ngproxy

command module
v0.0.0-...-22163a5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

README

NgProxy

Very basic (slightly inefficient) reverse proxy for Angular app that's hosted on Google Cloud Storage

If a path doesn't have a . in it, then a HEAD request is made to check if the path is not a 404. If the path is a 404 the proxy returns the index.html of the proxy URL (to allow angular routing to work)

Usage

To build install go and then run go build

To run ./ngproxy -port 3000 -target https://storage.googleapis.com/parenting-app-ui-master1

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