0
Answered

customizable config.php question

John R 1 year ago updated by Vlad R 20 hours ago 3

Since I run Filerun behind an nginx reverse proxy I found the following via a Google search

customizable / config.php

<?php

$config['url']['root'] = 'https://www.example.com/abc'

BUT

This is not on the Advanced Configuration page

https://docs.filerun.com/advanced_configuration

Question

Is this config entry still valid. as it does not seem to be doing anything

Answered

The config option is still valid, but use it only if for some reason FileRun can't detect that it is being forwarded through a proxy.

A year later, this configuration line,

$config['url']['root'] = 'https://www.example.com/abc'

just blanks out any page

(Obviously, I'm changing example and abc to be specific for my installation)

The file needs to start with 

<?php

and the configuration line needs to end with a semicolon character (;).