OS/RHEL7

apache status page 설정

zzerog 2021. 6. 5. 16:43
728x90

1. http 설치 후 httpd.conf에 아래 설정 추가

# dnf install httpd -y

# vi /etc/httpd/conf/httpd.conf
<Location /server-status>
SetHandler server-status
order allow,deny
allow from all
</Location>

# systemctl enable httpd --now

# firewall-cmd --add-service http --permanent
# firewall-cmd --reload

 

2. 브라우저 접속 시 refresh값 조정을 하면 설정한 시간마다 브라우저 자동 새로고침 됨

 

반응형