Installing FileRun with Caddy as webserver

Installing FileRun with Caddy as webserver 1.0

zamana

Contributor
Joined
Jun 4, 2017
Messages
163
zamana submitted a new resource:

Installing FileRun with Caddy as webserver - General guidelines for installing the web file manager FileRun

Here are the general guidelines in order to install FileRun in a FreeNAS jail.

The guide was written while I was actually installing the software, so I'm pretty sure that it is precise and correct.

Let me know if you have any questions or has any suggestion to improve the guide (including English grammar mistakes).

Thanks.
Regards.

Read more about this resource...
 

zamana

Contributor
Joined
Jun 4, 2017
Messages
163
Hi!

At the Overview TAB, click in the button "Go to download":

1604358240487.png
 

mainstream

Dabbler
Joined
Jan 7, 2022
Messages
18
I followed the guide to the letter but caddy doesn't seem to be working with this configuration. Already posted on github...
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
OK, I've run through the guide. PHP 7.3 is EOL, and its packages aren't in the repo at least for FreeBSD 13.1--but ionCube is available for PHP 7.4 in the repo. So the `pkg install` command instead needs to look like:
Code:
pkg install php74 ioncube-php74 php74-pdo php74-openssl php74-gd php74-mbstring php74-exif \
php74-xml php74-zlib php74-opcache php74-curl php74-pdo_mysql php74-sockets php74-json \
php74-fileinfo php74-ctype php74-session php74-pecl-imagick-im7 ImageMagick7-nox11 \
ffmpeg openjdk8-jre mysql80-server caddy

Caddyfile shouldn't be in the same directory as your data files. Its default is /usr/local/etc/caddy/Caddyfile, and it probably ought to stay there. Its contents should be:
Code:
{
    auto_https off
}
:8000 {
        root * /usr/local/www
        php_fastcgi 127.0.0.1:9000
}
 
Top