You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
location /.well-known/acme-challenge/ {
default_type "text/plain; charset=utf-8";
root /www/wwwroot/java_node_ssl;
try_files $uri =404;
}
Use webroot to manually configure the above configuration, which can be successful.
But when you use --nginx, you will find that one challege fails, and the route of that challege never takes effect, reporting 404. The result of the investigation is that my site uses the Pagoda reverse proxy, and nginx has a higher priority configuration. What causes constant access is the proxy.
Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.
location /.well-known/acme-challenge/ {
default_type "text/plain; charset=utf-8";
root /www/wwwroot/java_node_ssl;
try_files $uri =404;
}
Use webroot to manually configure the above configuration, which can be successful.
But when you use --nginx, you will find that one challege fails, and the route of that challege never takes effect, reporting 404. The result of the investigation is that my site uses the Pagoda reverse proxy, and nginx has a higher priority configuration. What causes constant access is the proxy.
error config:
location ^~ / {
modified config:
location / {
In this way, the priority of the challege route will be higher.
The text was updated successfully, but these errors were encountered: