By newserverguy
I have followed the following tutorial on securing NGINX on Ubuntu 16.04.
Once I finished installing Let’s Encrypt SSL and when I try to connect to my wordpress website it shows the digital ocean “Please log into your droplet via SSH to configure your LEMP installation”. How do I remove this and get to my wordpress website? I read that deleting the index.html should work but when I delete it I then get a 403 Forbidden Access
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
To find out what errors are being logged, we can run the command below. It’ll output the last 20 lines of the NGINX error log which should give us an idea of what’s going on.
tail -20 /var/log/nginx/error.log
If you can post that output to a code block, we can troubleshoot from there.
2017/02/26 10:48:05 [notice] 2477#2477: signal process started
2017/02/26 20:54:59 [emerg] 6887#6887: unexpected end of file, expecting "}" in /etc/nginx/sites-enabled/default:110
2017/02/26 20:59:10 [crit] 6932#6932: *148 SSL_do_handshake() failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) while SSL handshaking, client: 64.41.200.107, server: 0.0.0.0:443
2017/02/26 20:59:10 [crit] 6932#6932: *149 SSL_do_handshake() failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) while SSL handshaking, client: 64.41.200.107, server: 0.0.0.0:443
2017/02/26 21:05:16 [error] 6932#6932: *204 directory index of "/var/www/html/" is forbidden, client: 96.xx.xx.xx, server: _, request: "GET / HTTP/2.0", host: "[redacted]"
2017/02/26 21:05:56 [error] 6932#6932: *204 directory index of "/var/www/html/" is forbidden, client: 96.xx.xx.xx, server: _, request: "GET / HTTP/2.0", host: "[redacted]"
2017/02/26 21:05:57 [error] 6932#6932: *204 directory index of "/var/www/html/" is forbidden, client: 96.xx.xx.xx, server: _, request: "GET / HTTP/2.0", host: "[redacted]"
2017/02/26 21:05:58 [error] 6932#6932: *204 directory index of "/var/www/html/" is forbidden, client: 96.xx.xx.xx, server: _, request: "GET / HTTP/2.0", host: "[redacted]"
2017/02/26 21:08:30 [notice] 7001#7001: signal process started
2017/02/26 21:13:26 [notice] 7081#7081: signal process started
I checked the default server configuration file and everything checks out so not to sure why its giving me that error. Ran the sudo nginx -t code and syntax is okay and test is successful. Hopefully this can get resolved.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.