Hi,
I’m trying to run Ampache (GitHub - ampache/ampache: A web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device.) on Caddy but there’s quite an extensive config file with a lot of rewrite rules to be set.
Somebody willing to help me get this converted to Caddy?
i’ve got some stuff which I know how to do. I’m stuck at the rewrite rules, the proxy rules (alhough i’ll mighty manage to do that myself) and the fastcgi parameters. The installation and nginx instructions can be found here: Installation · ampache/ampache Wiki · GitHub
This is what I have so far:
ampache.myserver.nl.nl {
root /home/user/web/ampache.myserver.nl
log /home/user/web/log/ampache.myserver.nl.access.log {
rotate_size 100 # Rotate after 100 MB
rotate_age 14 # Keep log files for 14 days
rotate_keep 10 # keep maximum of 10 lof files
}
errors /home/user/web/log/ampache.myserver.nl.error.log
index index.php
gzip
fastcgi / unix:/var/run/php/php7.0-fpm.sock php
}
Any help is much appreciated and I will open a PR on github to get the config in their wiki for other users.