Giter Site home page Giter Site logo

libresh / compose-nginx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ecobytes/docker-nginx-gen-letsencrypt

30.0 8.0 20.0 19 KB

This is a small docker-compose file to get a self-encrypting load balancer in front of Docker containers.

License: GNU General Public License v3.0

compose-nginx's Introduction

Nginx letsencrypt

This is an opinionated improvisation to get a self-encrypting load balancer in front of Docker containers.

git clone https://github.com/indiehosters/nginx
cd nginx
docker-compose up

And profit \o/ docker run -e VIRTUAL_HOST=example.org nginx

License

Licensed by almereyda under the GNU General Public License 3.0. See the LICENSE for its terms.

compose-nginx's People

Contributors

almereyda avatar jodumont avatar pierreozoux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

compose-nginx's Issues

validation fails and no files in /html for well-known path

I can't get this to work :(

The validation fails:

docker logs nginx-letsencrypt
Sleep for 3600s
2018/01/29 18:08:04 Generated '/app/letsencrypt_service_data' from 7 containers
2018/01/29 18:08:04 Running '/app/update_certs'
2018/01/29 18:08:04 Watching docker events
/etc/nginx/certs/stats.ziprecipes.net /app
2018/01/29 18:08:04 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/update_certs'
Reloading nginx docker-gen (using separate container nginx-gen)...
Creating/renewal stats.ziprecipes.net certificates... (stats.ziprecipes.net)
2018-01-29 18:08:05,601:INFO:simp_le:1538: Retrieving Let's Encrypt latest Terms of Service.
2018-01-29 18:08:07,165:WARNING:simp_le:1371: --email was not provided; ACME CA will have no way of contacting you.
2018-01-29 18:08:14,905:INFO:simp_le:1455: Generating new certificate private key
2018-01-29 18:08:19,981:ERROR:simp_le:1421: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Are all your domains accessible from the internet? Please check your domains' DNS entries, your host's network/firewall setup and your webserver config. If a domain's DNS entry has both A and AAAA fields set up, some CAs such as Let's Encrypt will perform the challenge validation over IPv6. If you haven't setup correct CAA fields or if your DNS provider does not support CAA, validation attempts after september 8, 2017 will fail.  Failing authorizations: https://acme-v01.api.letsencrypt.org/acme/authz/ZM4Rd9OlZ-Pml7Ch75_ReZcSK6-slJTCfw23PYeeBNc
Challenge validation has failed, see error log.

And the html dir that's supposed to map to .well-known/acme-challenge/ is empty.

Any help would be immensely appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.