1
0
Commit Graph

650 Commits

Author SHA1 Message Date
ryneeverett
4953c16bbe Document letsencrypt_service loop.
I hadn't seen this pattern before and it took me a while to figure out
where the loop was happening. (It could have been in the docker
invocation, in entrypoint.sh, or in start.sh too.)
2016-06-25 18:25:24 -04:00
ryneeverett
a8e5131803 Fix typo. 2016-06-25 18:25:16 -04:00
Yves Blusseau
ec1093840a Merge pull request #66 from staxmanade/patch-1
small readme update
2016-06-06 18:10:00 +02:00
Jason Jarrett
9adaeef603 small readme update 2016-06-05 09:59:15 -07:00
Yves Blusseau
6b6f77c27d Merge pull request #61 from benjamin-smith/feature/allow-all-access-to-validation-endpoints
enable public access to validation endpoints
2016-05-24 08:39:51 +02:00
Ben Smith
e2f0abfa3e enable public access to validation endpoints despite existing IP whitelisting or basic auth settings 2016-05-23 15:04:38 -04:00
Yves Blusseau
bb19548800 Merge pull request #59 from MrsKensington/patch-1
break in location in case the upstream is protected
2016-05-07 23:35:57 +02:00
MrsKensington
76ed161b35 break in location in case the upstream is protected
Add a break into the letsencrypt block so that no more rules are executed otherwise if you have a block like...

    ## Start of configuration add by letsencrypt container
    location /.well-known/acme-challenge/ {
        auth_basic off;
        root /usr/share/nginx/html;
        try_files $uri =404;
    }
    ## End of configuration add by letsencrypt container

    if (!-f /code/home/cookies/$cookie_AUTH_COOKIE) {
        rewrite ^ https://auth.example.org break;
    }

Then lets encrypt never manages to verify the domain as the request gets re-written to the authentication URL.
2016-05-06 18:47:50 +01:00
Yves Blusseau
3117a102f8 Update README.md
Add informations to get the nginx.tmpl template file
2016-05-01 12:04:26 +02:00
Yves Blusseau
86e213c75c Update README.md
Clarify that the environment variables need to be declared in each to-be-proxied application containers
2016-05-01 11:53:15 +02:00
Yves Blusseau
5faa849e39 Update README.md
Add a name to the letsencrypt-nginx-proxy-companion container in the example.
2016-05-01 11:38:49 +02:00
Yves Blusseau
ae21e245e3 Change default location to only manage .well-known/acme-challenge 2016-05-01 11:30:30 +02:00
Yves Blusseau
d3908bd9a4 Update README.md 2016-04-03 11:21:39 +02:00
JrCs
0cae62bd88 Update README.md 2016-04-02 18:52:39 +02:00
Yves Blusseau
efc7e4c2d9 Merge pull request #45 from Reldeis/master
Create additional cert.pem file
2016-03-30 12:14:19 +02:00
Reldeis
4a508b7239 Update letsencrypt_service 2016-03-30 01:04:27 +02:00
JrCs
623d30cb17 Create test certificates by container
* Add the environment variable LETSENCRYPT_TEST with a value of true
  to create test certificates.
2016-03-27 16:56:56 +02:00
JrCs
d14d104dbc Add LICENSE file 2016-03-23 12:57:20 +01:00
Yves Blusseau
1c697f9d5d Update README.md
Add documentation about ACME_CA_URI environment variable.
2016-03-16 10:05:19 +01:00
JrCs
63b8458dc8 Fix quoting of environment variables in README file 2016-03-07 13:51:09 +01:00
JrCs
56e4b43d35 Fix typo in README.md 2016-02-27 11:05:25 +01:00
JrCs
fb3f0d2277 Use the DEBUG environment variable to make simp_le more verbose 2016-02-26 19:11:03 +01:00
JrCs
a3803dd10d Add a note about generation of Diffie-Hellman group file 2016-02-26 19:11:03 +01:00
JrCs
2ad05fb5c6 Use docker-gen v0.7.0 2016-02-26 19:11:03 +01:00
Yves Blusseau
a4b21b8f93 Merge pull request #28 from bradjones1/patch-1
Fix typo in README.md
2016-02-25 10:22:25 +01:00
Brad Jones
0c4dacfa00 Fix typo in environment variable
Simple fix, but if you read things a little too literally like I did... you can get tripped up. :-)
2016-02-24 15:19:40 -10:00
Yves Blusseau
0d6d105270 Allow to use the official nginx image and docker-gen in separate containers 2016-02-17 16:27:45 +01:00
Yves Blusseau
5c6d639f4d Update docker-gen to version 0.6.0 2016-02-15 08:43:47 +01:00
Yves Blusseau
3b703542a9 Update to alpine 3.3 2016-02-15 08:43:32 +01:00
Yves Blusseau
77d535cc86 Merge pull request #14 from JSurf/master
Disable basic auth for letsencrypt challenge
v1.1
2016-01-28 09:48:54 +01:00
JSurf
9bb159be51 Disable basic auth for letsencrypt challenge 2016-01-27 14:55:24 +01:00
Yves Blusseau
f284a36f1a Merge pull request #13 from ahansson89/patch-1
Small typo
2016-01-27 13:37:46 +01:00
Aleksander Hansson
20798da5de Small typo 2016-01-25 09:34:23 -04:00
Yves Blusseau
e1121b6839 Update README.me
Add information about automatic certificates renewal
1.0
2016-01-17 21:51:07 +01:00
Yves Blusseau
934571c5fe Update README.md 2016-01-11 11:08:46 +01:00
JrCs
941cd9dfbf Use http scheme in case DOCKER_HOST is not a unix socket 2016-01-08 14:31:45 +01:00
Andrew Tomaka
9edbb7811b Validate all relevant links are present
Thanks atomaka.
Close #5
2016-01-08 13:44:27 +01:00
JrCs
ed47d83a92 Improve method to get own container id
Close #6
2016-01-08 12:40:42 +01:00
JrCs
685909d93c Improved functions library 2016-01-07 11:11:05 +01:00
JrCs
6f731e4716 Call docker API directly
No need to have the docker binary
2016-01-06 19:37:04 +01:00
JrCs
9478347180 Replace wget with curl 2016-01-06 12:20:33 +01:00
Yves Blusseau
44b69263bd Update README.md 2016-01-05 14:35:35 +01:00
JrCs
acf517e1b4 Automatically create Diffie-Hellman group 2016-01-05 14:31:00 +01:00
JrCs
a263aad670 Fix indentations and add reload_nginx function in library 2016-01-05 14:02:15 +01:00
JrCs
1c6d70b93f Add new DEBUG environment variable 2016-01-03 12:42:29 +01:00
JrCs
ffca62742c Properly retrieve nginx-proxy container ID
docker inspect command return a leading :ro or :rw string when use with
docker-compose. This fix remove the leading string to get only the
container ID. Thanks anoopr.

Fix #1 and close #2.
2016-01-03 12:31:41 +01:00
Yves Blusseau
5e88db16d7 Add docker hub link 2016-01-02 11:49:12 +01:00
JrCs
73be58173e Add README.md 2016-01-01 17:12:52 +01:00
JrCs
459b1ed3c9 Create location configurations automatically 2016-01-01 14:35:03 +01:00
JrCs
0779129dd5 First release 2015-12-31 18:50:25 +01:00