fix:Change the turns port used in WebRTC to 443

nginx(website on server) listens on port 4443 and then forwards to the frontend and backend.
nginx main configuration adds a stream block to uniformly listen on port 443, then forwards based on domain to coturn(5349) and website(4443).
The TURN port used in WebRTC is changed to 443.
The deployment document adds a script action to delete extra configurations generated by certbot.
This commit is contained in:
david_bai
2025-07-23 23:07:59 +08:00
parent 7e055643c5
commit 7950aec063
7 changed files with 339 additions and 111 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ configure_nginx() {
# Execute configuration
configure_nginx
cp docker/Nginx/nginx.conf /etc/nginx
cp backend/docker/Nginx/nginx.conf /etc/nginx
echo "Nginx base configuration generated successfully at /etc/nginx/sites-available/default."
echo "The script no longer restarts Nginx automatically."