I had worked on few server with below conf however it report unauthorized as below.
Is there any idea what should i do???
my Ubuntu 17.10
and apache is Apache/2.4.27 (Ubuntu)
<VirtualHost *:80>
ServerName dev.tattle.systems
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ProxyPass /api/socket ws://localhost:8082/api/socket
ProxyPassReverse /api/socket ws://localhost:8082/api/socket
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
</VirtualHost>
ServerName dev.tattle.systems
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ProxyPass /api/socket ws://localhost:8082/api/socket
ProxyPassReverse /api/socket ws://localhost:8082/api/socket
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
</VirtualHost>
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: dev.tattle.systems
404 Not Found
Type: unauthorized
Detail: Invalid response from
http://dev.tattle.systems/.well-known/acme-challenge/VN_8ar1dmCWQsXZVvO2LUpppnsk256yapplK6-y0aoo:
"Not Found
<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.