We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win7 64位 Openresty_For_Windows_IOCP_1.11.5.1001_32Bit 和 Openresty_For_Windows_IOCP_1.11.5.1001_32Bit 访问postgres模块:
nginx.conf配置: http { upstream database { postgres_server 127.0.0.1 dbname=test user=test password=test; }
server { location / { postgres_pass database; postgres_query "SELECT * FROM cats"; } }
}
浏览器访问:http://127.0.0.1,浏览器会一直等待响应。 nginx.exe会卡死,或者弹出窗口: nginx.exe已停止工作。
错误日志: 2019/09/06 15:39:38 [alert] 5628#4832: *1 add event 616 CreateIoCompletionPort() failed (87: The parameter is incorrect) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "127.0.0.1"
2019/09/06 15:39:38 [error] 5628#4832: *1 postgres: failed to add nginx connection while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "127.0.0.1"
========================================== 另外按照教程编译nginx,32位没问题,64位的nginx.exe 一运行就报错: 应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件 日志,或使用命令行 sxstrace.exe 工具。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
win7 64位
Openresty_For_Windows_IOCP_1.11.5.1001_32Bit
和
Openresty_For_Windows_IOCP_1.11.5.1001_32Bit
访问postgres模块:
nginx.conf配置:
http {
upstream database {
postgres_server 127.0.0.1 dbname=test
user=test password=test;
}
}
浏览器访问:http://127.0.0.1,浏览器会一直等待响应。 nginx.exe会卡死,或者弹出窗口: nginx.exe已停止工作。
错误日志:
2019/09/06 15:39:38 [alert] 5628#4832: *1 add event 616 CreateIoCompletionPort() failed (87: The parameter is incorrect) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "127.0.0.1"
2019/09/06 15:39:38 [error] 5628#4832: *1 postgres: failed to add nginx connection while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "127.0.0.1"
==========================================
另外按照教程编译nginx,32位没问题,64位的nginx.exe 一运行就报错:
应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件
日志,或使用命令行 sxstrace.exe 工具。
The text was updated successfully, but these errors were encountered: