Thanks for the reply.
Okay, so I am removing proxy since I don’t think munkireport plays well with that, it doesn’t load by going to that IP address anyway, as far as I know looking at the munkireport info, it’s just flat files sitting in that folder, not something already running on an internal ip, so thinking it through, of course that wouldn’t work.
However, when I remove the proxy, I get a 502 error.
So I have this now, and get a 502 error, the path is valid, when I paste it in the Finder, it goes to the right location.
example.com {
log
root /Volumes/MediaExtend/Munki/munkireport/public
tls example@example.com
# PHP-FPM Configuration for Caddy
fastcgi / /run/php/php7.2-fpm.sock php {
ext .php
split .php
index index.php
}
}
The files in that folder are what’s below.
web.config
index.php
assets
.htaccess
I feel like I’m missing something obvious. I have only ever started up a webserver with .html type files or something like Sonarr, with an app that runs a local server first accessible via IP and then I use caddy to proxy. In this case I am using Caddy to actually run the PHP server side of things, at least that’s what was my intention, am I thinking about it all wrong?
I took this line from another forum post…
fastcgi / /run/php/php7.2-fpm.sock php {
I thought that this told Caddy to use some in built PHP serving capabilities, is this wrong? Is it looking for a run/php folder in my root and expecting some PHP server running? If so, how do I get that accomplished on the Mac? Sorry for my lack of knowledge here, I am trying to learn.
PS. Thanks for the correction on email address.