Open mildred opened 3 years ago
https://github.com/jasonmunro/cypht-docker/blob/2a8115a2750ce5aa4c3ece12f2ea914c46116afd/image/docker-entrypoint.sh#L212
Reverse proxying Cypht docker, I need to put it in its own virtualhost (https://webmail.example.org). I'd prefer to use a subpath (https://example.org/webmail/). I believe that customizing the above symlink could do that.
https://webmail.example.org
https://example.org/webmail/
dest="/var/www/$CYPHT_PREFIX_PATH" mkdir -p "$(dirname "$dest")" ln -s /usr/local/share/cypht/site "${dest%%/}"
Or in a more hacky way:
docker run \ ... --entrypoint /bin/sh \ sailfrog/cypht-docker:latest \ -c "mkdir -p /usr/local/share/cypht/site; ln -s . /usr/local/share/cypht/site/webmail; exec docker-entrypoint.sh"
The good, the bad and the ugly: We need a Docker expert to guide us!
https://github.com/jasonmunro/cypht-docker/blob/2a8115a2750ce5aa4c3ece12f2ea914c46116afd/image/docker-entrypoint.sh#L212
Reverse proxying Cypht docker, I need to put it in its own virtualhost (
https://webmail.example.org
). I'd prefer to use a subpath (https://example.org/webmail/
). I believe that customizing the above symlink could do that.Or in a more hacky way: