Okay so it just references the correct cert. Got it.
Well you've commented a lot of things in your config file, and it won't work like that. You're also using the default config file, if you want to use any other sites on this server you'll need to change this up.
#location ~ \.php$ {
# include snippets/fastcgi-php.conf;
#
# # With php7.0-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php7.0-fpm:
# fastcgi_pass unix:/run/php/php7.0-fpm.sock;
#}
You'll need to uncomment parts of this section, but we need to know if you use a sock or port for php-fpm. There's a couple of ways I can think of to figure this out quickly.
You may have a folder structure with a file like this: /etc/php/7.0/fpm/pool.d/www.conf
Do you have that file in the folder pool.d
here?
If so, you want to find a line in that file which goes something like this listen = /run/php/php7.0-fpm.sock
Do you see a listen =
line, and does it show a .sock
or :9000
at the end of the line?