I followed this tutorial:
I got to the part where the command is ./letsencrypt-auto and it returns this:
example.com is my site's url.
It has a redirect loop on the line where it redirects to https.
Also how would I hide the PHP extension?
I have nginx 1.9.3 on ubuntu.
listen 80 default_server;