handle /scorm/* {
    reverse_proxy {
        to {{ "https" if S3SCORM_USE_SSL else "http" }}://{{ S3SCORM_BUCKET }}.{{ S3SCORM_ENDPOINT }}{{ S3SCORM_PATH }}
        header_up Host {upstream_hostport}
    }
}
