Sign inSign up

bgautrea/fruit

By bgautrea

Updated almost 7 years ago

A simple Nginx OSS server with a signed SSL cert that returns {fruit: apples}

Image
0

216

bgautrea/fruit repository overview

THis is a simple Nginx OSS server that has a signed (by a private CA) certificate for *.example.com.

docker run -d bgautrea/fruit:oss-secure-signed

It returns a 200 response with application/json type and {fruit:apples} by default.

To change the response, pass an environment variable FRUIT_ENV with a different fruit. for example:

docker run -d -e "FRUIT_ENV=blueberry" --name blueberry bgautrea/fruit:oss-secure-signed

The CA Certificate that signed can be found here:

https://gist.github.com/bgautrea/e8128c8e77fac4c04bf00dc2e97ac4d2

Tag summary

Content type

Image

Digest

Size

378.8 MB

Last updated

almost 7 years ago

docker pull bgautrea/fruit:oss-secure-signed