1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-12-30 16:58:25 +01:00
parent 451b8fb75b
commit 3e4bbc7847

View file

@ -97,6 +97,7 @@ location ~ ^/plugins/[^/]+(/[^/]+)?/ws/ {
## ##
root __DATA_DIR__/storage/; root __DATA_DIR__/storage/;
# Enable compression for JS/CSS/HTML, for improved client load times. # Enable compression for JS/CSS/HTML, for improved client load times.
# It might be nice to compress JSON/XML as returned by the API, but # It might be nice to compress JSON/XML as returned by the API, but
# leaving that out to protect against potential BREACH attack. # leaving that out to protect against potential BREACH attack.