(Ubuntu) /etc/nginx/sites-enabled/default
(CentOS) /etc/nginx/conf.d/default.conf
server {
listen 80 default_server;
server_name _;
return 444;
}
반응형
'서버&리눅스' 카테고리의 다른 글
최고의 SSH 접속 프로그램 Xshell 설치 방법 (0) | 2022.10.13 |
---|---|
(.htaccess) www 제거 및 https 리다이렉트 (0) | 2022.10.06 |
Bash 프롬프트 꾸미기 (0) | 2022.10.06 |