-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Multiple hosts defined, second one does not get https config in /etc/nginx/conf.d/default.conf #2023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
same issue here |
Same issue here @buchdag |
yeah that's correct |
Since this issue is still open, and I ran into this (for different reasons as well) I think it's worth a bump. What happens for me, is that I added a new domain to an existing container via VIRTUAL_HOST. Next, I wanted to run certbot to generate a new certificate. This fails, because I think it's fair, either via a flag to always noredirect Setting the P.S. I only use the nginx.tmp from this repo; I use manual |
@oliv3r which version of the template are you using ? Since |
#buchdag Goog question, I've used master from a few months ago. The template isn't released in some consumable form, so I have to copy/paste it :( But if you state it was fixed already, I'll download it again and compare things :) Thank you for pointing this out! (I'll close this issue once I can confirm this) |
Uh oh!
There was an error while loading. Please reload this page.
I have defined a second domain name in the Docker VIRTUAL_HOST env variable and I am not getting https for it.
When I check the
/etc/nginx/conf.d/default.conf
file I see the configdocker-compose.yml
This line is causing the issue:
- VIRTUAL_HOST=paste.xxx.yyy.dev,paste.xxx.dev
The
paste.xxx.dev
only gets a port 80 definition and no port 443 config.The text was updated successfully, but these errors were encountered: