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
Using --nginx mode, acme.sh can't find a server_name that exists #808
Comments
if you have different webroot for the domains, you MUST specify webroots for EVERY domain in the command line, even though some of the domains may share the same webroot folder. example:
|
@Neilpang Thank you so much for the fast response! I didn't deduce that from the docs. I'll try that. Not sure why the --nginx option is not working. Too many server_name values for acme to search through? Hmmm |
Give me the full log and the nginx conf file, otherwise I can not fix it. |
@Neilpang Can I get that to you on a private channel please? |
Yes, write email to me: [removed] |
@Neilpang Thank you |
fixed. Please try with the latest export BRANCH=dev
acme.sh --upgrade I will merge it to master if it works for you. Thanks. |
Steps to reproduce
acme.sh --issue --nginx --force --debug --log
(followed by 31 -d arguments)
Debug log
acme.sh --issue ..... --debug 2
Yet:
I switched to --nginx mode after trying to list multiple domains each with their own webroot, but it seems you can only have 1 webroot with acme.sh
Such as:
-d 1.domain.com -d 2.domain.com -w /var/www/domain.com -d 3.domain.com -d 4.domain.com -w /var/www/domain2.com
For some reason acme tried to use /var/www/domain2.com for 1.domain.com. Anyway, that's another topic.
Thanks!
The text was updated successfully, but these errors were encountered: