Skip to content

A simple NGiNX proxy server with inbound traffic secured through Basic Auth with JSON formatted logs.

License

Notifications You must be signed in to change notification settings

quantworksinc/ambassador

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ambassador

A simple NGiNX proxy server with inbound traffic secured through Basic Auth with JSON formatted logs. Credentials are computed at runtime through entrypoint.sh.

Get the image at Docker Hub.

Build

docker build -t quantworks/ambassador:latest .

Use

Run the container.

docker run -it \
    -p 80:80 \
    -e DESTINATION=https://min-api.cryptocompare.com \
    quantworks/ambassador:latest

Test it!

curl -s 'http://0.0.0.0/data/price?fsym=ETH&tsyms=BTC,USD,EUR' | jq .

Container Variables:

  • DEBUG: default undefined
  • USERNAME: default user
  • PASSWORD: default pass
  • DESTINATION: default https://www.google.com

License

MIT

About

A simple NGiNX proxy server with inbound traffic secured through Basic Auth with JSON formatted logs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published