Test app for PR meteor/meteor#8702.
- Requires a local installation of nginx.
git clone https://github.com/hwillson/meteor-pr-8702.git
cd meteor-pr-8702/socket-test
[PR 8702 meteor checkout]/meteor build ../build/
cd ../build/; tar -xzvf socket-test.tar.gz
cd bundle/programs/server; [PR 8702 meteor checkout]/meteor npm i
- Start a non-daemon based version of nginx using the config stored with the app:
cd meteor-pr-8702
nginx -c ./nginx.conf
cd meteor-pr-8702/build/bundle
ROOT_URL=http://localhost PORT=/tmp/socktest.sock [PR 8702 meteor checkout]/meteor node main.js
- Access http://localhost:2048. Nginx and the test app are now communicating via the socket file located at
/tmp/socktest.sock
.