mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Do not enable gzip
This commit is contained in:
parent
eed8ecda7c
commit
952f62c061
1 changed files with 1 additions and 10 deletions
|
@ -4,15 +4,6 @@ location / {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
gzip on;
|
|
||||||
gzip_disable "msie6";
|
|
||||||
gzip_vary on;
|
|
||||||
gzip_proxied any;
|
|
||||||
gzip_comp_level 6;
|
|
||||||
gzip_buffers 16 8k;
|
|
||||||
gzip_http_version 1.1;
|
|
||||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml;
|
|
||||||
|
|
||||||
# the nginx default is 1m, not enough for large media uploads
|
# the nginx default is 1m, not enough for large media uploads
|
||||||
client_max_body_size 16m;
|
client_max_body_size 16m;
|
||||||
|
|
||||||
|
@ -49,4 +40,4 @@ location / {
|
||||||
location @error {
|
location @error {
|
||||||
root __FINALPATH__/mobilizon/priv/errors;
|
root __FINALPATH__/mobilizon/priv/errors;
|
||||||
try_files /error.html 502;
|
try_files /error.html 502;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue