Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Nginx config file: remove text/html from gzip_types

Benjamin Bouvier7eeb6a0ba402
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 54ffdcc329..fee0f5d1c0 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -41,7 +41,7 @@ server {
# It might be nice to compress JSON, but leaving that out to protect against potential
# compression+encryption information leak attacks like BREACH.
gzip on;
- gzip_types text/css text/html application/javascript;
+ gzip_types text/css application/javascript;
gzip_vary on;
# Enable HSTS