diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-11-19 16:56:13 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-11-19 16:56:13 +0100 |
commit | d15222de2e82642a1a118d138613f53cf76cb9c6 (patch) | |
tree | 58ea3da104c5f94628041792096a7a6abdad53db /etc/nginx/sites-enabled/www-ssl.site | |
parent | cecf8dbc78f654d4f4b9742ffc8193f911704a0c (diff) | |
parent | e120d5fc0930bee106e570c40d0e4c21c4229709 (diff) | |
download | deployment-d15222de2e82642a1a118d138613f53cf76cb9c6.tar.gz deployment-d15222de2e82642a1a118d138613f53cf76cb9c6.tar.bz2 deployment-d15222de2e82642a1a118d138613f53cf76cb9c6.zip |
Merge branch 'master' of taler.net:deployment
Diffstat (limited to 'etc/nginx/sites-enabled/www-ssl.site')
-rw-r--r-- | etc/nginx/sites-enabled/www-ssl.site | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/nginx/sites-enabled/www-ssl.site b/etc/nginx/sites-enabled/www-ssl.site index 605f45e..7831d38 100644 --- a/etc/nginx/sites-enabled/www-ssl.site +++ b/etc/nginx/sites-enabled/www-ssl.site @@ -26,9 +26,25 @@ server { rewrite ^/wallet$ /wallet.html break; } + 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/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript; + + + location ~* \.(png|jpg|jpeg|gif|ico|svg|js|css)$ { + root /var/www/taler.net; + expires 1y; + } + # Note: this will go to /var/www/(videos|releases), which we took out of Git location /videos { root /var/www; + expires max; } location /releases { |