NagiosXi UI Access though Proxy
Posted: Fri Jul 28, 2017 1:29 pm
Hi All,
I would like to access Nagios XI from a remote Proxy Server. I am able to pull up the static pages. But the pages with Javascript/CSS/images etc are not rendered . Is there a solution for this ?
public internet --> Public Facing Server ( As a Proxy) -- > NagiosXI
Apache Configuration on Proxy Server as below
=========================
<VirtualHost _HOST_:80>
ProxyRequests On
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
AddType text/css css
AddType text/xml xml
AddType image/gif gif
AddType image/jpeg jpeg jpg
AddType application/x-javascript js
AddType application/atom+xml atom
AddType application/rss+xml rss
ProxyPass /nagiosxi http://<nagiosserver>/nagiosxi
ProxyPassReverse /nagiosxi http://<nagiosserver>/nagiosxi
ProxyPass /nrdp http://<nagiosserver>/nrdp
ProxyPassReverse /nrdp http://<nagiosserver>/nrdp
ProxyPass /nagios http://<nagiosserver>/nagios/share
ProxyPassReverse /nagios http://<nagiosserver>/nagios/share
ProxyPass /nagios/cgi-bin http://<nagiosserver>/nagios/sbin
ProxyPassReverse /nagios/cgi-bin http://<nagiosserver>/nagios/sbin
<Location />
Allow from all
</Location>
</VirtualHost>
=================================================
Regards
Vivek
I would like to access Nagios XI from a remote Proxy Server. I am able to pull up the static pages. But the pages with Javascript/CSS/images etc are not rendered . Is there a solution for this ?
public internet --> Public Facing Server ( As a Proxy) -- > NagiosXI
Apache Configuration on Proxy Server as below
=========================
<VirtualHost _HOST_:80>
ProxyRequests On
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
AddType text/css css
AddType text/xml xml
AddType image/gif gif
AddType image/jpeg jpeg jpg
AddType application/x-javascript js
AddType application/atom+xml atom
AddType application/rss+xml rss
ProxyPass /nagiosxi http://<nagiosserver>/nagiosxi
ProxyPassReverse /nagiosxi http://<nagiosserver>/nagiosxi
ProxyPass /nrdp http://<nagiosserver>/nrdp
ProxyPassReverse /nrdp http://<nagiosserver>/nrdp
ProxyPass /nagios http://<nagiosserver>/nagios/share
ProxyPassReverse /nagios http://<nagiosserver>/nagios/share
ProxyPass /nagios/cgi-bin http://<nagiosserver>/nagios/sbin
ProxyPassReverse /nagios/cgi-bin http://<nagiosserver>/nagios/sbin
<Location />
Allow from all
</Location>
</VirtualHost>
=================================================
Regards
Vivek