1. httpd.conf 수정 (주석처리 해제: 첫 # 글자 삭제)
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
<VirtualHost _default_:80>
DocumentRoot "${SRVROOT}/htdocs"
ProxyRequests Off
ProxyPreserveHost On
<Location /nagios>
Require ip 허용할IP1 허용할IP2
</Location>
<Location /nagiosgraph>
Require ip 허용할IP1 허용할IP2
</Location>
ProxyPass /nagios http://실제서버IP/nagios
ProxyPassReverse /nagios http://실제서버IP/nagios
ProxyPass /nagiosgraph http://실제서버IP/nagiosgraph
ProxyPassReverse /nagiosgraph http://실제서버IP/nagiosgraph
</VirtualHost>
(참고) https://httpd.apache.org/docs/current/mod/core.html#location
※ httpd 2.2 의 경우 아래와 같이 적용
Order Allow,Deny
Allow from 허용할IP