Hi. I’m trying to set up what I thought was a pretty simple web server using Caddy on Ubuntu 18.04 but I’m running into a very strange problem. The intent of the server is as a software repo for the Munki software management tool for Macs, as well as running the Munkireport-PHP app for reporting info about the clients.
If I access the hosted files/pages from a Mac using Safari or from any command line tools on a Mac (curl
or the Python-based Munki tools), the Ubuntu VM running Caddy locks up dead. It ceases to respond on the network at all and the console also stops responding. The only recourse I have is to reboot the VM from VMware. If I access the same resources from other browsers (Chrome, Firefox, IE 11, Edge), the VM stays up and content is served as expected.
My Caddyfile (anonymized):
munki.mydomain.org/munki_repo {
root /usr/local/munki_repo
tls email@mydomain.org
basicauth / username password
}
munki.mydomain.org/munkireport {
root /usr/local/munkireport/public
tls email@mydomain.org
# PHP-FPM Configuration for Caddy
fastcgi / /run/php/php7.2-fpm.sock php {
ext .php
split .php
index index.php
}
}
I suspected the PHP setup at first, but this happens even with the entire /munkireport
site not running (commented out).
Thank you for any help you can provide. I haven’t been in the Linux game for a while (our server environment here is basically 100% Windows) so I apologize in advance for my lack of knowledge.