MantisBT/CentOS7/FastCGI/Caddy
Last updated
Was this helpful?
Last updated
Was this helpful?
Need epel-release
package installed.
In the trial environment I am using postgresql on the VM
Setup the postgres password
As the postgres
user also modify /var/lib/pgsql/data/pg_hba.conf
to set md5
method for all IPv4 local connections.
Grab the source
Make a /srv/www
directory and extract the contents into a folder mantisbt
.
Grab the tarball
Follow the installation instructions in caddy/dist/init/linux-systemd at master · mholt/caddy · GitHub to enable systemd support, substituting /var/www
for /srv/www
.
The /etc/caddy/Caddyfile
is as simple as:
Allow web server to connect to database.
Enable firewall rule
By default php-fpm is configured to use the apache
user on CentOS. Caddy and the mantisbt files use www-data
so update this in /etc/php-fpm.d/www.conf
by changing the user
and group
directives.