ubuntu 에서 apache2 와 nodejs (express) 를 reverse proxy로 연동하기
2013. 7. 2. 23:34ㆍOS/Linux
ubuntu 에서 apache2 와 nodejs (express) 를 reverse proxy로 연동하기
1. apache 에서 필수모들을 로드한다
a2enmod proxy proxy_http
2. apache 에서 conf 파일 설정
ServerName SITE_URL
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
'OS > Linux' 카테고리의 다른 글
gitlab 과 apache 연동 (0) | 2013.07.14 |
---|---|
gitlab 설치시 mysql 관련 오류 (0) | 2013.07.14 |
nodejs + npm + express 설치 (0) | 2013.07.02 |
리눅스 버젼 확인하기 (0) | 2013.06.27 |
If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. (0) | 2013.06.27 |