SpringBoot (JAVA)
Windows에서 NSSM과 Nginx로 안정적인 웹 서버 운영하기
Sudarii
2025. 8. 18. 16:26
반응형
nssm 사용법
1. nssm.exe 파일이 있는 곳에서 cmd 호출
2. nssm install testService

3. Path : 자바 설치 경로
Startup directory : jar 파일 위치
Arguments : -jar "jar 파일 "

4. Install Service 클릭 시 저장 완료
5. nssm start testService, start, restart, remove 등등의 명령어가 더 있다.
NGINX 사용법
1. nginx 도 nssm 으로 실행 할 것이다.
2. Path : nginx.exe 경로
Startup directory : nginx.exe 경로
Arguments : 공백

이와같이 설정하면 된다
반응형