From ca08e16ac4e458b363b2e69baae34570d6c74a37 Mon Sep 17 00:00:00 2001 From: cruizba Date: Wed, 14 Sep 2022 12:04:57 +0200 Subject: [PATCH] deployment: Deprecate old API by default. --- openvidu-server/deployments/ce/docker-compose/.env | 2 +- .../deployments/ce/docker-compose/docker-compose.yml | 2 +- openvidu-server/deployments/enterprise/master-node/.env | 2 +- .../deployments/pro/docker-compose/openvidu-server-pro/.env | 2 +- .../pro/docker-compose/openvidu-server-pro/docker-compose.yml | 2 +- openvidu-server/docker/openvidu-proxy/entrypoint.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openvidu-server/deployments/ce/docker-compose/.env b/openvidu-server/deployments/ce/docker-compose/.env index 3670daa580..83cf583eee 100644 --- a/openvidu-server/deployments/ce/docker-compose/.env +++ b/openvidu-server/deployments/ce/docker-compose/.env @@ -44,7 +44,7 @@ LETSENCRYPT_EMAIL=user@example.com # the new path that should be used instead. You can set property SUPPORT_DEPRECATED_API=false # to stop allowing the use of old paths. # Default value is true -# SUPPORT_DEPRECATED_API=true +# SUPPORT_DEPRECATED_API=false # If true request to with www will be redirected to non-www requests # Default value is false diff --git a/openvidu-server/deployments/ce/docker-compose/docker-compose.yml b/openvidu-server/deployments/ce/docker-compose/docker-compose.yml index 453be5825d..d35bf81dba 100644 --- a/openvidu-server/deployments/ce/docker-compose/docker-compose.yml +++ b/openvidu-server/deployments/ce/docker-compose/docker-compose.yml @@ -111,7 +111,7 @@ services: - ALLOWED_ACCESS_TO_RESTAPI=${ALLOWED_ACCESS_TO_RESTAPI:-} - PROXY_MODE=CE - WITH_APP=true - - SUPPORT_DEPRECATED_API=${SUPPORT_DEPRECATED_API:-true} + - SUPPORT_DEPRECATED_API=${SUPPORT_DEPRECATED_API:-false} - REDIRECT_WWW=${REDIRECT_WWW:-false} - WORKER_CONNECTIONS=${WORKER_CONNECTIONS:-10240} - PUBLIC_IP=${PROXY_PUBLIC_IP:-auto-ipv4} diff --git a/openvidu-server/deployments/enterprise/master-node/.env b/openvidu-server/deployments/enterprise/master-node/.env index be2138e22c..ab288e2423 100644 --- a/openvidu-server/deployments/enterprise/master-node/.env +++ b/openvidu-server/deployments/enterprise/master-node/.env @@ -53,7 +53,7 @@ LETSENCRYPT_EMAIL=user@example.com # the new path that should be used instead. You can set property SUPPORT_DEPRECATED_API=false # to stop allowing the use of old paths. # Default value is true -# SUPPORT_DEPRECATED_API=true +# SUPPORT_DEPRECATED_API=false # If true request to with www will be redirected to non-www requests # Default value is false diff --git a/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/.env b/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/.env index a21cf728e8..93f4d84731 100644 --- a/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/.env +++ b/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/.env @@ -50,7 +50,7 @@ LETSENCRYPT_EMAIL=user@example.com # the new path that should be used instead. You can set property SUPPORT_DEPRECATED_API=false # to stop allowing the use of old paths. # Default value is true -# SUPPORT_DEPRECATED_API=true +# SUPPORT_DEPRECATED_API=false # If true request to with www will be redirected to non-www requests # Default value is false diff --git a/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/docker-compose.yml b/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/docker-compose.yml index bcd074c2ef..1cd5b6e1e3 100644 --- a/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/docker-compose.yml +++ b/openvidu-server/deployments/pro/docker-compose/openvidu-server-pro/docker-compose.yml @@ -100,7 +100,7 @@ services: - ALLOWED_ACCESS_TO_RESTAPI=${ALLOWED_ACCESS_TO_RESTAPI:-} - PROXY_MODE=PRO - WITH_APP=true - - SUPPORT_DEPRECATED_API=${SUPPORT_DEPRECATED_API:-true} + - SUPPORT_DEPRECATED_API=${SUPPORT_DEPRECATED_API:-false} - REDIRECT_WWW=${REDIRECT_WWW:-false} - WORKER_CONNECTIONS=${WORKER_CONNECTIONS:-10240} - PUBLIC_IP=${PROXY_PUBLIC_IP:-auto-ipv4} diff --git a/openvidu-server/docker/openvidu-proxy/entrypoint.sh b/openvidu-server/docker/openvidu-proxy/entrypoint.sh index e23165870d..d957df0a1d 100755 --- a/openvidu-server/docker/openvidu-proxy/entrypoint.sh +++ b/openvidu-server/docker/openvidu-proxy/entrypoint.sh @@ -39,7 +39,7 @@ CERTIFICATES_CONF="${CERTIFICATES_LIVE_FOLDER}/certificates.conf" [ -z "${PROXY_HTTPS_PROTOCOLS}" ] && export PROXY_HTTPS_PROTOCOLS='TLSv1 TLSv1.1 TLSv1.2 TLSv1.3' [ -z "${PROXY_HTTPS_CIPHERS}" ] && export PROXY_HTTPS_CIPHERS='ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4' [ -z "${WITH_APP}" ] && export WITH_APP=true -[ -z "${SUPPORT_DEPRECATED_API}" ] && export SUPPORT_DEPRECATED_API=true +[ -z "${SUPPORT_DEPRECATED_API}" ] && export SUPPORT_DEPRECATED_API=false [ -z "${REDIRECT_WWW}" ] && export REDIRECT_WWW=false [ -z "${PROXY_MODE}" ] && export PROXY_MODE=CE [ -z "${WORKER_CONNECTIONS}" ] && export WORKER_CONNECTIONS=10240