{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/tengine/issues/1029","repository_url":"https://api.github.com/repos/alibaba/tengine","labels_url":"https://api.github.com/repos/alibaba/tengine/issues/1029/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/tengine/issues/1029/comments","events_url":"https://api.github.com/repos/alibaba/tengine/issues/1029/events","html_url":"https://github.com/alibaba/tengine/issues/1029","id":309656802,"number":1029,"title":"unknown directive \"ssl_async\" in /etc/nginx/nginx.conf","user":{"login":"sgub","id":12590237,"avatar_url":"https://avatars2.githubusercontent.com/u/12590237?v=4","gravatar_id":"","url":"https://api.github.com/users/sgub","html_url":"https://github.com/sgub","followers_url":"https://api.github.com/users/sgub/followers","following_url":"https://api.github.com/users/sgub/following{/other_user}","gists_url":"https://api.github.com/users/sgub/gists{/gist_id}","starred_url":"https://api.github.com/users/sgub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgub/subscriptions","organizations_url":"https://api.github.com/users/sgub/orgs","repos_url":"https://api.github.com/users/sgub/repos","events_url":"https://api.github.com/users/sgub/events{/privacy}","received_events_url":"https://api.github.com/users/sgub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-29T08:03:39Z","updated_at":"2018-03-30T11:46:58Z","closed_at":null,"author_association":"NONE","body":"tengine 2.2.2, CentOS 7 + kernel-ml-4.14.15-1.el7.elrepo\r\nbuilt with:\r\n\r\n```\r\n./configure  \\\r\n  --with-openssl=/usr/local/openssl-1.1.0g \\\r\n  --with-openssl-async\t\t\t\\\r\n  --with-http_ssl_module\t\t\\\r\n```\r\n\r\n/etc/nginx/nginx.conf:\r\n```\r\n...\r\nhttp {\r\n    ssl_async  on;\r\n...\r\n}\r\n```\r\n\r\nrun:\r\n```\r\n# nginx -v\r\nTengine version: Tengine/2.2.2 (nginx/1.8.1)\r\n\r\n# nginx -c /etc/nginx/nginx.conf\r\nnginx: [emerg] unknown directive \"ssl_async\" in /etc/nginx/nginx.conf:16\r\n```"},"comment":{"url":"https://api.github.com/repos/alibaba/tengine/issues/comments/377508304","html_url":"https://github.com/alibaba/tengine/issues/1029#issuecomment-377508304","issue_url":"https://api.github.com/repos/alibaba/tengine/issues/1029","id":377508304,"user":{"login":"wangfakang","id":8215757,"avatar_url":"https://avatars1.githubusercontent.com/u/8215757?v=4","gravatar_id":"","url":"https://api.github.com/users/wangfakang","html_url":"https://github.com/wangfakang","followers_url":"https://api.github.com/users/wangfakang/followers","following_url":"https://api.github.com/users/wangfakang/following{/other_user}","gists_url":"https://api.github.com/users/wangfakang/gists{/gist_id}","starred_url":"https://api.github.com/users/wangfakang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangfakang/subscriptions","organizations_url":"https://api.github.com/users/wangfakang/orgs","repos_url":"https://api.github.com/users/wangfakang/repos","events_url":"https://api.github.com/users/wangfakang/events{/privacy}","received_events_url":"https://api.github.com/users/wangfakang/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T11:46:58Z","updated_at":"2018-03-30T11:46:58Z","author_association":"COLLABORATOR","body":"@sgub you can try to compile OpenSSL using a dynamic library.\r\nfor examples :\r\n```\r\n$ ./configure \\\r\n    --prefix=$NGINX_INSTALL_DIR \\\r\n    --with-http_ssl_module \\\r\n    --with-openssl-async \\\r\n    --with-cc-opt=\"-DNGX_SECURE_MEM -I$OPENSSL_LIB/include \\\r\n    -Wno-error=deprecated-declarations\" \\\r\n    --with-ld-opt=\"-Wl,-rpath=$OPENSSL_LIB/lib -L$OPENSSL_LIB/lib\"\r\n```\r\nOf course  you can refer to this https://github.com/alibaba/tengine/pull/1030/commits/c42e650026358626d804196ec8857701afbfb6a9.\r\nthanks for your report."}}
{"actor":{"display_login":"wangfakang"}}