<commit_before># consul-access

Lightweight password protection to Consul HTTP using Nginx.

## Using consul-access

Simply link against a running Consul container using the alias `consul` and provide a username and password with the `HTPASSWD` environment variable:

	$ docker pull progrium/consul-access
	$ docker run -d \
		--link consul:consul \
		--env "HTPASSWD=<username> <password>" \
		--publish 80:80
		progrium/consul-access

## Security

Since HTTP [Basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) is used, you should only access this behind SSL otherwise your password is transmitted unencrypted.

## License

BSD<commit_msg>note on consul in host net mode<commit_after># consul-access

Lightweight password protection to Consul HTTP using Nginx.

## Using consul-access

Simply link against a running Consul container using the alias `consul` and provide a username and password with the `HTPASSWD` environment variable:

	$ docker pull progrium/consul-access
	$ docker run -d \
		--link consul:consul \
		--env "HTPASSWD=<username> <password>" \
		--publish 80:80
		progrium/consul-access

If you're running Consul in `--net=host` mode, you can just set the IP manually with `--add-host`:

	$ docker run -d \
		--add-host consul:<consul ip> \
		--env "HTPASSWD=<username> <password>" \
		--publish 80:80
		progrium/consul-access

## Security

Since HTTP [Basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) is used, you should only access this behind SSL otherwise your password is transmitted unencrypted.

## License

BSD
{'fraction_non_alphanumeric': 0.09375, 'fraction_numerical': 0.0075, 'mean_word_length': 4.23202614379085, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1577384', 'n_tokens_mistral': 508, 'n_tokens_neox': 465, 'n_words': 173}