2
Apache의 프록시 요청을 node.js 앱에 연결하기위한 Akward 지연
내 Ubuntu Server 10.04에서 node.js 앱 예제를 실행 중입니다. var http = require("http"); function onRequest(request, response) { console.log("Request received."); response.writeHead(200, {"Content-Type": "text/html"}); response.write("Hello World"); response.end(); } http.createServer(onRequest).listen(3000); 포트 3000의 요청을 듣고 콘솔에 로그인하여 클라이언트에게 HTTP "Hello World"를 보냅니다. 이 앱을 Apache2와 공존시키는 것이 목표였습니다. 그래서 몇 가지 연구를 한 후 …