https://github.com/zalari/docker-nginx-http-hash
Simple nginx-based image for validating SSL HTTP HASH challenges
https://github.com/zalari/docker-nginx-http-hash
Last synced: 2 months ago
JSON representation
Simple nginx-based image for validating SSL HTTP HASH challenges
- Host: GitHub
- URL: https://github.com/zalari/docker-nginx-http-hash
- Owner: zalari
- License: mit
- Created: 2016-02-09T18:14:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-09T19:30:51.000Z (over 10 years ago)
- Last Synced: 2025-01-19T08:45:09.967Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## nginx-http-hash
This is a simple nginx image for HTTP-HASH validation for SSL certificate validation. It has only two ENV variables:
**HASHFILENAME** and **HASHVALUE**, with the former being the actual file, that is exposed below the web roots.
## Example usage
Say, your SSL-Seller challenges you to provide the *HASHVALUE* "dshjhsjd" in the file "dhhd.htm", then run the image like that:
```
docker run --name some_nginx -p 9876:80 -e HASHFILENAME=dhhd.htm -e HASHVALUE=dshjhsjd -d zalari/nginx-http-hash
```
and you should get the following result:
```
curl -v http://dockerhost:9876/dhhd.htm
```