The first one
" ProxyPass ajp://localhost:9090/
ProxyPassReverse ajp://localhost:9090/ " gave me syntax ok, but failed on:
root@ip-72-167-40-139:/etc/apache2/sites-available# sudo certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: arqls.com.br
2: www.arqls.com.br
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for arqls.com.br
http-01 challenge for www.arqls.com.br
Enabled Apache rewrite module
Waiting for verification...
Challenge failed for domain arqls.com.br
Challenge failed for domain www.arqls.com.br
http-01 challenge for arqls.com.br
http-01 challenge for www.arqls.com.br
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: arqls.com.br
Type: unauthorized
Detail: Invalid response from
http://arqls.com.br/.well-known/acme-challenge/Kmh_I-SGqafs-jV4jiW-aV39SoyYWsggrSa50cXNr_8
[72.167.40.139]: "\n\n403
Forbidden\n\nForbidden
\n<p"Domain: www.arqls.com.br
Type: unauthorized
Detail: Invalid response from
http://www.arqls.com.br/.well-known/acme-challenge/rYGPl9k_DAGgB3YSrxG6U125LVOfyDWtYG2QFVBGofw
[72.167.40.139]: "\n\n403
Forbidden\n\nForbidden
\n<p"To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
The second one gave me this error:
root@ip-72-167-40-139:/etc/apache2/sites-available# sudo apachectl configtest
AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/000-default.conf:
ProxyPass|ProxyPassMatch can not have a path when defined in a location.
Action 'configtest' failed.
The Apache error log may have more information.