Problem after ssl certificate installing and configuration

I’ve checked your configuration and you have a mistake:

on this step.
already fixed, must work …

ps: don’t add redirect from http to https, not so good

400 Bad Request

The plain HTTP request was sent to HTTPS port
nginx/1.10.0 (Ubuntu)

https://ispframework.freshdesk.com/solution/articles/16000032878-splynx-and-ssl-https-
step:

server {
listen 80;
return 301 https://$server_name$request_uri; # enforce https
}