Certbot failed to authenticate some domains (authenticator: nginx)

Certbot failed to authenticate some domains (authenticator: nginx).
this my nginx conf

#odoo server
upstream odoo {
server 127.0.0.1:8069;
}
upstream odoochat {
server 127.0.0.1:8072;
}

 server {
  listen 80;
  listen [::]:80;
  server_name klubbogorraya.com, www.klubbogorraya.com;

# log
  access_log /var/log/nginx/odoo.access.log;
  error_log /var/log/nginx/odoo.error.log;

    # Redirect requests to odoo backend server
  location / {
    proxy_pass http://odoo;

    add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
    proxy_cookie_flags session_id samesite=lax secure;  # requires nginx 1.19.8
  }

  # common gzip
  gzip_types text/css text/scss text/plain text/xml application/xml application/json application/javascript;
  gzip on;
 }

no error on lets debug

Hi @topikjeje, and welcome to the LE community forum :slight_smile:

Please show more detail about the failure.
[from the log file (normally): /var/log/letsencrypt/letsencrypt.log]

2 Likes

You shouldn't have a comma there. Maybe that is confusing Certbot and it is not identifying the correct server block.

2 Likes

All right, i will try

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.