Add custom layout
This commit is contained in:
parent
740f532307
commit
07091d0aae
@ -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/* {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user