Add custom layout

This commit is contained in:
cruizba 2024-04-10 12:39:30 +02:00
parent 740f532307
commit 07091d0aae
2 changed files with 10 additions and 0 deletions

View File

@ -40,6 +40,14 @@ const CaddyfileTemplate = `
reverse_proxy http://openvidu-v2compatibility:5080
}
# OpenVidu v2 Custom layout
redir /openvidu/layouts /openvidu/layouts/
handle_path /openvidu/layouts/* {
uri strip_prefix /openvidu/layouts
root * /var/www/custom-layouts
file_server
}
# Minio console
redir /minio-console /minio-console/
handle_path /minio-console/* {

View File

@ -18,6 +18,8 @@ services:
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY:-}
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY:-}
- OPENVIDU_SHIM_SECRET=${OPENVIDU_SHIM_SECRET:-}
volumes:
- ./custom-layouts:/var/www/custom-layouts
ports:
- 5443:5443
- 6443:6443