Home

CATEGORY
  • iplug2 (6)
  • Raspberry Pi (5)
  • Amazon Web Service (5)
  • note (4)
  • Google Cloud Platform (3)
  • Unclassified (2)
  • Node.js (2)
  • reactjs (1)
  • jQuery (1)
  • Spring Boot (1)
  • Project (1)
  • Linux (1)
  • LINE (1)
  • nginx 설정 커맨드 정리

    // nginx route 수정
    sudo vim /etc/nginx/sites-enabled/default
    
    // nginx route 수정 후 daemon reload(수정되었으면 꼭 필요한 작업)
    sudo systemctl daemon-reload
    
    // nginx 그리고 재시작
    sudo systemctl restart nginx
    
    // nginx 상태 보기
    sudo systemctl status nginx
    
    
    // code-server service가 있는 파일 열기
    sudo vim /etc/systemd/system/code-server.service
    
    sudo systemctl daemon-reload | sudo systemctl start code-server
    sudo systemctl status code-server