     # if ($scheme != "https") {
     #     return 301 https://$host$request_uri;
     # } # managed by Certbot
-
 }
 
 server {

      proxy_pass http://app_fastonosql;
      proxy_redirect off;
    }


}


    access_log /var/log/nginx/fastonosql.log;

    listen 443 ssl;
    ssl_certificate /etc/letsencrypt/live/fastonosql.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/fastonosql.com/privkey.pem; # managed by Certbot    

    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_prefer_server_ciphers on;
