Comments (6)
Hi, no we can't remove VIRTUAL_HOST environment variable because it is use to configure nginx proxy and it is not used by this letsencrypt container.
If you don't have a VIRTUAL_HOST environment variable on your web container, the nginx proxy will not respond to requests for the domain.
from acme-companion.
@JrCs I know that VIRTUAL_HOST
is used by the proxy-container and not by the letsencrypt container. But the letsencrypt container also modifies the nginx config. The location /.well-known/ { .. }
part is from the letsencrypt container, isn't it?
So couldn't the letsencrypt container also create a virtual host on its own, if no VIRTUAL_HOST
variable is defined? This would probably require some modifications to nginx.tmpl
.
from acme-companion.
Yes the letsencrypt container add some configurations to the nginx proxy.
Yes we need to change the nginx.tmpl to get this case, and nginx.tmpl is a template from nginx-proxy.
I don't have a specific version of nginx.tmpl for this letsencrypt container. Each container use it's own environment variable (VIRTUAL_HOST for the docker-gen container and LETS_ENCRYPT_XXX for this container) and i don't want to mix all of them.
The nginx reverse proxy can be used with the docker-gen container without the letsencrypt container.
This container is just an add-ons to the nginx/docker-gen containers and it is not design to replace functionnality of one of them:
- nginx container do the reverse proxy
- docker-gen update the nginx proxy configuration when containers are create/remove
- letsencrypt-nginx-proxy-companion create letsencrypt certificats
from acme-companion.
@JrCs I understand. It's totally legitimate to keep things simple and compatible with the nginx.tmpl
in jwilder/nginx-proxy 👍
Would you mind adding a LICENSE file to this project so I can fork it and support my specific use case?
from acme-companion.
@sherter ok i will add a LICENSE file done
from acme-companion.
Cool, thanks!
from acme-companion.
Related Issues (20)
- mounting docker.sock via -volumes-from nginx-proxy does not work HOT 4
- Question: any hints on how to configure so i could use authelia or keycloak? HOT 2
- Use generated certificate in another container
- [CVE] (possible?) RCE because of acme.sh - update from 2.9.0 to latest version
- /entrypoint.sh: 279: exec: --env: not found HOT 2
- 502 Bad Gateway
- Verify error:{"type":"urn:ietf:params:acme:error:rateLimited", "detail":"Service busy; retry later."} HOT 1
- crt and key file does not exist or not created in certs folder HOT 1
- Unable to issue standalone certificate HOT 2
- cert_status always returns EXPIRED HOT 1
- Slow creation for new domain
- Using it with podman HOT 1
- CURL error 28 on certificate creation/renewal HOT 2
- Do all up steam containers require port 80 and 443?
- /var/run/docker.sock:/tmp/docker.sock:ro big problem for rootless docker HOT 6
- Add support for default certificates signed by Let's Encrypt HOT 6
- curl endless loop with 3.x Kernels on version >= 2.2.9 HOT 3
- SSH Certificates will Not Update HOT 1
- Error: no ACME account was found or registered HOT 4
- Redondant config HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acme-companion.