Fix problème CSP

peertube
RatCornu 2025-08-04 19:48:51 +02:00
parent 1998ca8b2e
commit 6497e4ee23
No known key found for this signature in database
GPG Key ID: B3BE02E379E6E8E2
1 changed files with 9 additions and 9 deletions

View File

@ -34,6 +34,8 @@ in
};
};
users.users.nginx.extraGroups = [ "peertube" ];
systemd.services.peertube = {
serviceConfig = {
SystemCallFilter = lib.mkForce [ ];
@ -130,13 +132,13 @@ in
};
};
csp.enabled = true;
csp.enabled = false;
history.videos.max_age = "4 years";
geo_ip.enabled = false;
webadmin.configuration.edition.allowed = false;
admin.email = "contact@crans.org";
admin.email = "root@crans.org";
user = {
video_quota = "10GB";
@ -152,7 +154,7 @@ in
"480p" = true;
"1080p" = true;
};
always_transcode_original_resolution = false;
always_transcode_original_resolution = true;
hls = {
enabled = true;
split_audio_and_video = true;
@ -200,6 +202,10 @@ in
short_description = "Instance Peertube du Crans.";
description = ''
Bienvenue sur l'instance [Peertube](https://joinpeertube.org) du [Crans](https://crans.org) !
Le Crans est l'association réseau de l'ENS Paris-Saclay, qui fournit
des services numériques et une couverture internet filaire aux
associations et clubs de l'ENS Paris-Saclay.
'';
code_of_conduct = "Soyez sympas sinon conséquences.";
administrator = "Les membres actifves du Crans";
@ -216,12 +222,6 @@ in
theme = {
default = "default";
customization = {
primary_color = "#AD1F1F";
background_color = "#1F2424";
background_secondary_color = "#1F95AD";
};
};
broadcast_message = {