Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sivel/httptester
HTTP Test container
https://github.com/sivel/httptester
Last synced: about 2 months ago
JSON representation
HTTP Test container
- Host: GitHub
- URL: https://github.com/sivel/httptester
- Owner: sivel
- License: gpl-3.0
- Created: 2020-04-24T16:18:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T16:30:43.000Z (over 4 years ago)
- Last Synced: 2024-10-25T18:55:05.292Z (3 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# httptester
HTTP Test container## Services
* [httpbin](https://httpbin.org)
* [nginx](https://nginx.org)
* HTTP tcp/80
* HTTPS tcp/443
* SNI
* Invalid SSL
* Client SSL Cert Auth## Usage
```
docker run -d --name httptester sivel/httptester
```The nginx configuration and SSL certificates are built at runtime.
## Configurarion
This container supports 4 env vars to configure it's behavior:
`DEFAULT_SERVER_NAME`
: Hostname of the default nginx server. Default: `default.test``SNI1_SERVER_NAME`
: Hostname of the first SNI server. Default: `sni1.default.test``SNI2_SERVER_NAME`
: Hostname of the second SNI server. Default: `sni2.default.test``FAIL_SERVER_NAME`
: Hostname of the server supporting Invalid SSL due to hostname mismatch. Default: `fail.default.test`## SSL Cert locations
* `http://DEFAULT_SERVER_NAME/cacert.pem`
* `http://DEFAULT_SERVER_NAME/client.key`
* `http://DEFAULT_SERVER_NAME/client.pem`