'configtest'에 해당되는 글 1건

CentOS 6.x NGINX configtest


아파치는 apachectl configtest 옵션으로 환경설정이 제대로 되었는지 검증이 가능합니다.

nginx 는 nginx -t 옵션으로 확인하면 됩니다.

[root@vps conf.d]# nginx configtest

nginx: invalid option: "configtest"


[root@vps conf.d]# nginx -t

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok

nginx: configuration file /etc/nginx/nginx.conf test is successful

아파치 버전 마다 다르겠지만 2.2 버전대에서는 apachectl configtest 는

# apachectl -t 와 동일합니다.


블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,