Sign inSign up

4252553/google-code-proxy

By 4252553

Updated over 2 years ago

This program will proxy the request to the backend api server with google code.

Image
Security
0

1.1K

4252553/google-code-proxy repository overview

Description:

This program is a api proxy server, it will proxy the request to the backend api server with.
The rules are:

  1. if the code is empty, return 401
  2. if the code is invalid more than 3 times, return 401
  3. if the code is invalid, return 401
  4. if the code is used in 5 minute, return 401 (the code can only be used once in 5 minutes)
  5. if the code is valid, proxy the request to the backend api server

Usage:

Param:

  • -sq: show qr code, default is false, if true, it will show the qr code of the secret at the log, you can use the google authenticator to scan the qr code to get the code
  • -uc: use code, default is true, if false, it will not check the code
  • -sc: show code, default is false, if true, it will show the code of the secret
  • -cn: code name, default is code, it will check the code in the header with the name
  • -ba: bind address, default is :8081, it will listen on the address

Tag summary

Content type

Image

Digest

sha256:21e877f49

Size

14.4 MB

Last updated

over 2 years ago

docker pull 4252553/google-code-proxy