server
{
    listen 443 ssl;
    listen 8080;

    ssl on;
    #server_name api.sands-social-network-mockup.com;
    server_name sands-edb;

    keepalive_timeout   70;

    ssl_certificate     /etc/nginx/ssl/self-ssl.crt;
    ssl_certificate_key /etc/nginx/ssl/self-ssl.key;

    ssl_prefer_server_ciphers on;

    ssl_session_cache    shared:SSL:10m;
    ssl_session_timeout  10m;

    access_log /var/log/nginx/sands/ssl_sands.in_access.log;
    error_log /var/log/nginx/sands/ssl_sands.in_error.log;

    location /
    {
        proxy_pass  http://127.0.0.1:8000/;
    }
}
 
