Home » Categories » Products » Nagios Fusion » Documentation » System Configuration

Nagios Fusion - Enabling Relative URLs


This KB article shows you how to configure Nagios Fusion to use relative URLs. Relative URLs may be required when accessing your Nagios Fusion server via a proxy server.


Enable Relative URLs

Establish a terminal session to your Nagios fusion server and execute the following command to open the config.inc.php file in vi:

vi /usr/local/nagiosfusion/html/config.inc.php

When using the vi editor, to make changes press i on the keyboard first to enter insert mode. Press Esc to exit insert mode.


Find the force_relative_path line in the file and change it to true. If the line doesn't exist then simply add it, making sure it ends with a comma (,).

    $cfg = array(

        'force_relative_path' => true,

        'root_dir' => '/usr/local/nagiosfusion',


When you have finished, save the changes in vi by typing:


and press Enter.


After making these changes you need to restart the httpd service using one of the commands below:


RHEL/CentOS 6.x

service httpd restart


RHEL/CentOS 7.x

systemctl restart httpd.service


Once you have performed these steps the Nagios Fusion server will now use relative URLs.



Final Thoughts

For any support related questions please visit the Nagios Support Forums at:


0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios Fusion - Managing Fused Servers
Viewed 330 times since Mon, Jul 17, 2017
Nagios Fusion - Adding a License
Viewed 287 times since Mon, Jul 17, 2017
Configuring Your Server With A Static IP Address
Viewed 12053 times since Tue, Oct 11, 2016
Nagios Fusion - How To Configure SSL
Viewed 1045 times since Sun, Oct 16, 2016
Nagios Fusion - Changing Default Passwords
Viewed 290 times since Mon, Jul 17, 2017
Nagios Fusion - Understanding Email Sending
Viewed 252 times since Mon, Jul 17, 2017
SSL/TLS - Understanding Certificate Warnings
Viewed 1120 times since Wed, Jun 14, 2017
Nagios Fusion - Getting Started
Viewed 1092 times since Sun, Jan 31, 2016
Nagios Fusion - Managing System Extensions
Viewed 259 times since Tue, Jul 18, 2017
Nagios Fusion - Configuring Global Settings
Viewed 260 times since Mon, Jul 17, 2017