aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/nginx/patchwork.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/nginx/patchwork.conf b/lib/nginx/patchwork.conf
index 893589b..69a7ab5 100644
--- a/lib/nginx/patchwork.conf
+++ b/lib/nginx/patchwork.conf
@@ -2,6 +2,13 @@ server {
listen 80 default_server;
listen [::]:80 default_server;
+ server_tokens off;
+
+ gzip on;
+ gzip_types text/css application/javascript;
+ gzip_min_length 500;
+ gzip_disable msie6;
+
location = favicon.ico { access_log off; log_not_found off; }
location /static {