{"action":"created","issue":{"url":"https://api.github.com/repos/perusio/piwik-nginx/issues/32","repository_url":"https://api.github.com/repos/perusio/piwik-nginx","labels_url":"https://api.github.com/repos/perusio/piwik-nginx/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/perusio/piwik-nginx/issues/32/comments","events_url":"https://api.github.com/repos/perusio/piwik-nginx/issues/32/events","html_url":"https://github.com/perusio/piwik-nginx/issues/32","id":178711293,"number":32,"title":"Document SSL/HTTPS best practice","user":{"login":"bbodenmiller","id":1192780,"avatar_url":"https://avatars.githubusercontent.com/u/1192780?v=3","gravatar_id":"","url":"https://api.github.com/users/bbodenmiller","html_url":"https://github.com/bbodenmiller","followers_url":"https://api.github.com/users/bbodenmiller/followers","following_url":"https://api.github.com/users/bbodenmiller/following{/other_user}","gists_url":"https://api.github.com/users/bbodenmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bbodenmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbodenmiller/subscriptions","organizations_url":"https://api.github.com/users/bbodenmiller/orgs","repos_url":"https://api.github.com/users/bbodenmiller/repos","events_url":"https://api.github.com/users/bbodenmiller/events{/privacy}","received_events_url":"https://api.github.com/users/bbodenmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T20:23:53Z","updated_at":"2016-12-15T13:38:51Z","closed_at":null,"body":"Would like to see the recommended way to setup Piwik with HTTPS.\n"},"comment":{"url":"https://api.github.com/repos/perusio/piwik-nginx/issues/comments/267329190","html_url":"https://github.com/perusio/piwik-nginx/issues/32#issuecomment-267329190","issue_url":"https://api.github.com/repos/perusio/piwik-nginx/issues/32","id":267329190,"user":{"login":"sergtop","id":1157589,"avatar_url":"https://avatars.githubusercontent.com/u/1157589?v=3","gravatar_id":"","url":"https://api.github.com/users/sergtop","html_url":"https://github.com/sergtop","followers_url":"https://api.github.com/users/sergtop/followers","following_url":"https://api.github.com/users/sergtop/following{/other_user}","gists_url":"https://api.github.com/users/sergtop/gists{/gist_id}","starred_url":"https://api.github.com/users/sergtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergtop/subscriptions","organizations_url":"https://api.github.com/users/sergtop/orgs","repos_url":"https://api.github.com/users/sergtop/repos","events_url":"https://api.github.com/users/sergtop/events{/privacy}","received_events_url":"https://api.github.com/users/sergtop/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T13:38:51Z","updated_at":"2016-12-15T13:38:51Z","body":"I`ve just added an ssl.conf as include in nginx.conf\r\nmy ssl.conf looks like this (with lets encrypt ssl service on Ubuntu):\r\n\r\n###### replace <domain> with your domain as letsencrypt generated ######\r\n\r\n    ssl_certificate /etc/letsencrypt/live/<domain>/fullchain.pem;\r\n    ssl_certificate_key /etc/letsencrypt/live/<domain>/privkey.pem;\r\n    ssl_session_timeout 1d;\r\n#    ssl_session_cache shared:SSL:50m;\r\n\r\n    # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits\r\n    # if needed - may be generated with:\r\n    # openssl dhparam -out /etc/nginx/dhparam.pem 4096\r\n    # ssl_dhparam /etc/nginx/dhparam.pem;\r\n\r\n    # intermediate configuration. tweak to your needs.\r\n    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;\r\n    ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';\r\n    ssl_prefer_server_ciphers on;\r\n\r\n    # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)\r\n    # uncomment if HSTS needed\r\n    # add_header Strict-Transport-Security max-age=15768000;\r\n\r\n    # OCSP Stapling ---\r\n    # fetch OCSP records from URL in ssl_certificate and cache them\r\n    ssl_stapling on;\r\n    ssl_stapling_verify on;\r\n\r\n    ## verify chain of trust of OCSP response using Root CA and Intermediate certs\r\n    ssl_trusted_certificate /etc/letsencrypt/live/<domain>/chain.pem;\r\n"}}
{"actor":{"display_login":"sergtop"}}