Add turn nginx module (sites config still missing)

main
Marco von Rosenberg 2 years ago
parent 423f5d8ad4
commit 20f9900cc4
  1. 1
      docker-containers/nginx-proxy/docker-compose.yml
  2. 20
      docker-containers/nginx-proxy/secure-turn-module

@ -12,6 +12,7 @@ services:
- ./vhost:/etc/nginx/vhost.d
- ./html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- ${PWD}/secure-turn-module:/etc/nginx/modules/secure-turn-module
networks:
cttue_web_services:

@ -0,0 +1,20 @@
stream {
upstream turn_backend {
server 89.163.204.197:3478;
}
server {
listen 443 udp;
listen [::]:443 udp;
ssl_preread on;
proxy_pass turn_backend;
# Increase buffer to serve video
proxy_buffer_size 10m;
}
}
Loading…
Cancel
Save