@caddy/caddy

Caddy is the HTTP/2 web server with automatic HTTPS.


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/g/caddy/caddy/

Could not fetch/save url https://copr.fedorainfracloud.org/coprs/g/caddy/caddy/repo/epel-7/group_caddy-caddy-epel-7.repo to file /etc/yum.repos.d/group_caddy-caddy-epel-7.repo: [Errno 14] HTTPS Error 404 - Not Found

Is it supposed to work? (On CentOS, of course)

Nope. As you can see on the details page, the project is build only for Fedora 31 and Rawhide. There is no repo for EPEL7. Despite the fact that author wrote it in project description. :frowning:

It is now. @carlwgeorge and I have made it work for EPEL 7 and up, as well as Fedora and openSUSE Leap 15.1 and up.

1 Like

Should this package add a dependency on mailcap? I just spent a stupid amount of time researching why my CSS file had an incorrect mime-type until I found out, through sheer luck while googling a related issue, that Caddy (or really Go) uses the system’s mime.type definitions, i.e. /etc/mime.types. I literally never in a million years would have guessed this. CentOS8 doesn’t seem to have this file until you install mailcap, Once I installed it, everything went smoothly.

What do you think? If it’s possible to get this file from somewhere other than mailcap, that’s of course fine too. I just know that on a standard CentOS 8 install, this Caddy package just doesn’t work properly unless some other package happens to provide the /etc/mime.types file.