mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 10:48:10 +02:00
Nextcloud Talk: fix virtual-background web check by
- adding explicit MIME types for .wasm and .tflite in internal Nginx - relaxing CSP (script-src: allow 'unsafe-eval') for WebAssembly - removing obsolete turnserver draft. Details: https://chatgpt.com/share/68d7dd39-50b8-800f-ab59-cfb1d3cf07cb
This commit is contained in:
@@ -6,6 +6,8 @@ server:
|
|||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
script-src-elem:
|
script-src-elem:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
script-src:
|
||||||
|
unsafe-eval: true
|
||||||
whitelist:
|
whitelist:
|
||||||
font-src:
|
font-src:
|
||||||
- "data:"
|
- "data:"
|
||||||
|
@@ -1,14 +0,0 @@
|
|||||||
<?php
|
|
||||||
# Activates the turn server
|
|
||||||
# @see https://nextcloud-talk.readthedocs.io/en/latest/TURN/
|
|
||||||
|
|
||||||
return [
|
|
||||||
'turn_servers' => [
|
|
||||||
[
|
|
||||||
'host' => 'coturn',
|
|
||||||
'port' => {{ NEXTCLOUD_TALK_TURN_ONBOARD_PORT }},
|
|
||||||
'secret' => 'my-secret-key',
|
|
||||||
'protocols' => 'udp,tcp'
|
|
||||||
],
|
|
||||||
],
|
|
||||||
];
|
|
@@ -19,6 +19,8 @@ http {
|
|||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
types {
|
types {
|
||||||
application/javascript mjs;
|
application/javascript mjs;
|
||||||
|
application/wasm wasm;
|
||||||
|
application/octet-stream tflite;
|
||||||
}
|
}
|
||||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||||
'$status $body_bytes_sent "$http_referer" '
|
'$status $body_bytes_sent "$http_referer" '
|
||||||
|
Reference in New Issue
Block a user