any idea why specifying the site label as you say would still result in a redirect to https?
using docker caddy/caddy:alpine
# domain name
http://thalwil.opengis.ch:8080
root * /io/www/html
file_server
@ows {
path_regexp map_file ^/ows/(.*)
}
# directly call QGIS via fcgi
reverse_proxy @ows qgisserver:9993 {
transport fastcgi {
env QUERY_STRING {query}&map=/io/data/{http.regexp.map_file.1}.qgs
env PGSERVICEFILE /io/.pg_service.conf
}
}