[nginx] .conf에서 아이피제한 작성일자 2021-11-282021-11-28 글쓴이 anchovy3 테스트할 때 내 아이피에서만 접속하게 하고 싶다면 example.com.conf 파일을 다음과 같이 수정한다. # Deny all except me. set $my_auth 0; if ($remote_addr = 123.456.789.123) { set $my_auth 1; } if ($my_auth = 0) { return 444; }