Hello
My domain is wallex.market on nginx webserver. I,m using cloudlfare and redirect all http request to 443 port . also the hsts is enable on it . I want to add certificate with certbot to subdomain by this command :
sudo certbot certonly --nginx -w /var/www/wallex/public --cert-name wallex.market -d wallex.market,www.wallex.market,dev.wallex.market --preferred-challenges=http
but all chalenges fail :
Failed authorization procedure. www.wallex.market (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.wallex.market/.well-known/acme-challenge/noDBxpvvt1mljdCGtCB4-pB1YXeRuVHMmz28vTDpW7Q: “\n\n Error 404\n<link href=’//fonts.googleapis.com/css?family=Lato:100’ rel=‘stylesheet’ type=‘text/css’”, wallex.market (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://wallex.market/.well-known/acme-challenge/Bvur4QrdyOvLomaWQmgRmFnu0csQdg6OzCEl64qGAOs: “\n\n Error 404\n<link href=’//fonts.googleapis.com/css?family=Lato:100’ rel=‘stylesheet’ type=‘text/css’”
how can I fix it ?