[store-web] Enable compression
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [store-web] Enable compression
- Date: Tue, 12 Jan 2021 08:14:47 +0000 (UTC)
commit 1b2b6c806958e78b32672d41414aa605244bbb15
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Jan 12 09:14:42 2021 +0100
Enable compression
nginx.conf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/nginx.conf b/nginx.conf
index 9d1c5ef..f84eff3 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -27,7 +27,9 @@ http {
keepalive_timeout 65;
- #gzip on;
+ gzip on;
+ gzip_vary on;
+ gzip_types text/plain text/css text/javascript image/svg+xml image/x-icon application/javascript
application/x-javascript;
upstream php-fpm {
server localhost:9000;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]