Hello,
I learned last year how to work with the small things of nginx, since then I liked to learn more about it. Currently, I'm working with SSL certs. I have it working well on my main domain.
I followed this tutorial at the beginning to do this: https://www.humankode.com/ssl/how-to-set-up-free-ssl-certificates-from-lets-encrypt-using-docker-and-nginx
What my issue is, I have subdomains next to my main domain. My subdomains are connected by giving the url and portnumber. I figured out by doing research what I have to do with the configuration, and can set my minds to that. But, I work with the Docker environment.. Is here anyone that works with Docker? I found many things that could help me in the setup. Basically, I think that I need to do the same steps as for the main domain, exept with the sub's address.
The tutorial above is working fine, my main domain runs on ssl, before without that.. so it is reachable.
Inside the Docker container, I received an error:
Failed authorization procedure. www.subdomain.example.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.subdomain.example.com
And so ever. It says that the subdomain is not reachable, and that I have to check the A/AAAA records.
How can I make this working?
You can find my attachments of example code in this topic.
Thanks in advance,
Colin
Attachments:
open |
download -
nginx global site config.txt
(3.1 KB)
open |
download -
nginx subdomain config.txt
(241 bytes)