보관함

NginX 이중화

upstream myserver { # 기본 round robin server localhost:3000; server localhost:3001; } server { listen 8080; listen [::]:8080; # server_name xxx.anyons.net; root /nodejsPath; location / { allow 192.168.1.0/24; deny all; # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. # try_files $uri $uri/ =404; […]

node.js 업그레이드

현재 node.js 버전 확인

캐시 삭제

n 모듈 설치

n 모듈을 사용하여 nodejs 설치

새로운 node.js 버전 확인