File coturn-turnserver_conf.patch of Package coturn
diff -ur coturn-4.6.3/examples/etc/turnserver.conf coturn-4.6.3-new/examples/etc/turnserver.conf --- coturn-4.6.3/examples/etc/turnserver.conf 2024-12-11 19:13:38.000000000 +0100 +++ coturn-4.6.3-new/examples/etc/turnserver.conf 2025-05-12 15:50:25.607946160 +0200 @@ -265,6 +265,7 @@ # will try to use the 'dynamic' value in the turn_secret table # in the user database (if present). The database-stored value can be changed on-the-fly # by a separate program, so this is why that mode is considered 'dynamic'. +# create with: `openssl rand -hex 32` # #static-auth-secret=north @@ -399,7 +400,7 @@ # default value is 0 (no quota). # This option can also be set through the database, for a particular realm. # -#total-quota=0 +#total-quota=100 # Max bytes-per-second bandwidth a TURN session is allowed to handle # (input and output network streams are treated separately). Anything above @@ -481,14 +482,14 @@ # configuration file. # Use PEM file format. # -#cert=/usr/local/etc/turn_server_cert.pem +#cert=/etc/coturn/tls/turn_server_cert.pem # Private key file. # Use an absolute path or path relative to the # configuration file. # Use PEM file format. # -#pkey=/usr/local/etc/turn_server_pkey.pem +#pkey=/etc/coturn/tls/turn_server_pkey.pem # Raw public keys support. # On/off switch for RFC-7250 aka raw public keys. @@ -554,7 +555,7 @@ # In the runtime, the logfile can be reset with the SIGHUP signal # to the turnserver process. # -#log-file=/var/tmp/turn.log +#log-file=/var/log/coturn/turnserver.log # Option to redirect all log output into system log (syslog). # Nur in coturn-4.6.3-new/examples/etc: turnserver.conf.orig.