Caddyfile

www.ab.cc {
    proxy / localhost:9999 {
        transparent
    }

    header / {
        Strict-Transport-Security "max-age=15552000"
    }
}

office.ab.cc {
    proxy /loleaflet https://localhost:9980 {
	insecure_skip_verify
	transparent
    }
    proxy /hosting/discovery https://localhost:9980 { 
        insecure_skip_verify
        transparent
    }
    proxy /lool https://localhost:9980 {
        insecure_skip_verify
        transparent
        websocket
    }
}

Collabora Office

#!/bin/bash

sudo docker pull collabora/code

sudo docker rm -f office

sudo docker run -t -d --name office \
	-p 9980:9980 \
	-e domain="www\\.ab\\.cc" \
	--restart always \
	--cap-add MKNOD \
	collabora/code

参考