{"action":"created","issue":{"url":"https://api.github.com/repos/happyman/twmap/issues/37","repository_url":"https://api.github.com/repos/happyman/twmap","labels_url":"https://api.github.com/repos/happyman/twmap/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/happyman/twmap/issues/37/comments","events_url":"https://api.github.com/repos/happyman/twmap/issues/37/events","html_url":"https://github.com/happyman/twmap/issues/37","id":386275218,"node_id":"MDU6SXNzdWUzODYyNzUyMTg=","number":37,"title":"Website support HTTP/2 and QUIC","user":{"login":"happyman","id":82296,"node_id":"MDQ6VXNlcjgyMjk2","avatar_url":"https://avatars2.githubusercontent.com/u/82296?v=4","gravatar_id":"","url":"https://api.github.com/users/happyman","html_url":"https://github.com/happyman","followers_url":"https://api.github.com/users/happyman/followers","following_url":"https://api.github.com/users/happyman/following{/other_user}","gists_url":"https://api.github.com/users/happyman/gists{/gist_id}","starred_url":"https://api.github.com/users/happyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyman/subscriptions","organizations_url":"https://api.github.com/users/happyman/orgs","repos_url":"https://api.github.com/users/happyman/repos","events_url":"https://api.github.com/users/happyman/events{/privacy}","received_events_url":"https://api.github.com/users/happyman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-30T17:12:10Z","updated_at":"2018-12-03T02:37:50Z","closed_at":"2018-12-02T01:19:32Z","author_association":"OWNER","body":"追一下流行。\r\nchrome://net-internals/#http2\r\nchrome://net-internals/#quic\r\n\r\nhttps://chrome.google.com/webstore/detail/http2-and-spdy-indicator/mpbpobfflnpcgagjijhmgnchggcjblin\r\n\r\nref:\r\nhttps://tools.keycdn.com/http2-test\r\nperformace:\r\nhttps://tools.pingdom.com/\r\nhttps://www.webpagetest.org/\r\n"},"comment":{"url":"https://api.github.com/repos/happyman/twmap/issues/comments/443571224","html_url":"https://github.com/happyman/twmap/issues/37#issuecomment-443571224","issue_url":"https://api.github.com/repos/happyman/twmap/issues/37","id":443571224,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzU3MTIyNA==","user":{"login":"happyman","id":82296,"node_id":"MDQ6VXNlcjgyMjk2","avatar_url":"https://avatars2.githubusercontent.com/u/82296?v=4","gravatar_id":"","url":"https://api.github.com/users/happyman","html_url":"https://github.com/happyman","followers_url":"https://api.github.com/users/happyman/followers","following_url":"https://api.github.com/users/happyman/following{/other_user}","gists_url":"https://api.github.com/users/happyman/gists{/gist_id}","starred_url":"https://api.github.com/users/happyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyman/subscriptions","organizations_url":"https://api.github.com/users/happyman/orgs","repos_url":"https://api.github.com/users/happyman/repos","events_url":"https://api.github.com/users/happyman/events{/privacy}","received_events_url":"https://api.github.com/users/happyman/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T02:37:50Z","updated_at":"2018-12-03T02:37:50Z","author_association":"OWNER","body":"note 一下, ubuntu 16.04 更改 mpm, 故 php-fpm 要配合 apache2 設定\r\n/etc/apache2/envvars\r\n換 user\r\n/usr/lib/tmpfiles.d/php7.0-fpm.conf\r\n/etc/php/7.0/fpm/pool.d/www.conf\r\n\r\n順便 upgrade aped 到 1.1.2 版\r\nhttp://ape-project.org/download/ \r\n\r\n解決 aped 出 error_log \r\n[Mon Dec 03 10:17:23.702885 2018] [proxy_http:error] [pid 28047:tid 139931261179648] (20014)Internal error (specific information not available): [client 163.29.165.106:58244] AH01102: error reading status line from remote server 127.0.0.1:6969, referer: https://map.happyman.idv.tw/twmap/main.php?tab=3\r\n參考:\r\nhttp://apache-http-server.18135.x6.nabble.com/mod-proxy-error-reading-status-line-td5003910.html\r\n> SetEnv           proxy-initial-not-pooled 1 \r\n\r\nThis one may - MAY - be useful if your backend aggressively closes \r\nconnections. It prevents a race condition where the backend closes the \r\npersistent connection after the proxy checks it is alive, but before \r\nthe proxy sends information to the backend. This is quite rare, and if \r\nyour backend did exhibit this behaviour, setting this would have fixed \r\nit. \r\n\r\n```\r\n<IfModule mod_ssl.c>\r\n<VirtualHost *:443>\r\n   Servername ape.happyman.idv.tw\r\n   ServerAlias *.ape.happyman.idv.tw\r\n   DocumentRoot \"/opt/twmap/aped\"\r\n         ProxyRequests Off\r\n        <directory proxy:*>\r\n                Order deny,allow\r\n                Deny from all\r\n                Allow from all\r\n        </directory>\r\n        ProxyPass /         http://127.0.0.1:6969/\r\n        ProxyPassReverse /         http://127.0.0.1:6969/\r\n #  ErrorLog ${APACHE_LOG_DIR}/error.ape.log\r\n #  CustomLog ${APACHE_LOG_DIR}/access.ape.log combined\r\n  SetEnv proxy-initial-not-pooled 1\r\n    SetEnv proxy-nokeepalive 1\r\n\r\nInclude /etc/letsencrypt/options-ssl-apache.conf\r\nSSLCertificateFile /etc/letsencrypt/live/map.happyman.idv.tw/fullchain.pem\r\nSSLCertificateKeyFile /etc/letsencrypt/live/map.happyman.idv.tw/privkey.pem\r\nInclude /etc/letsencrypt/options-ssl-apache.conf\r\n</VirtualHost>\r\n</IfModule>\r\n```\r\n"}}
{"actor":{"display_login":"happyman"}}