Allow Moodle to be run with a Caddy web server (https://caddyserver.com/).
This task isn't really hard, as Caddy has the same behaviour than nginx in this case.
See this diff for changes. Tested them on my server, worked like a charm.
Allow Moodle to be run with a Caddy web server (https://caddyserver.com/).
This task isn't really hard, as Caddy has the same behaviour than nginx in this case.
See this diff for changes. Tested them on my server, worked like a charm.