CentOS 7.0 nginx 설치 후 방화벽 열어주기
vultr.com 의 호스팅을 ubuntu 16.04에서 CentOS 7 로 변경을 했더니만, nginx 설치하고 보니 외부에서 접속이 되지 않는다.
몇 번의 삽질 끝에 방화벽 설정을 해줘야 하고, CentOS 7은 iptables 가 아닌 firewall-cmd 라는 넘을 이용한다는 사실을 검색함.
https://linuxconfig.org/how-to-open-http-port-80-on-redhat-7-linux-using-firewall-cmd
몇 번의 삽질 끝에 방화벽 설정을 해줘야 하고, CentOS 7은 iptables 가 아닌 firewall-cmd 라는 넘을 이용한다는 사실을 검색함.
https://linuxconfig.org/how-to-open-http-port-80-on-redhat-7-linux-using-firewall-cmd
댓글
댓글 쓰기