summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-02-15 17:24:54 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-02-15 17:24:54 +0100
commit46e17e70f5d5797ded3635dd73f9aa6e0275ffc3 (patch)
tree077da6b09197c77997836cfb87d012c4435bac4a
parent74bb638f83e84f648bb300d01cd09a4f047bb568 (diff)
parentadc8e19c7c0057c7555d9b4549020b336292a339 (diff)
downloaddeployment-46e17e70f5d5797ded3635dd73f9aa6e0275ffc3.tar.gz
deployment-46e17e70f5d5797ded3635dd73f9aa6e0275ffc3.tar.bz2
deployment-46e17e70f5d5797ded3635dd73f9aa6e0275ffc3.zip
Merge branch 'master' of taler.net:deployment
-rw-r--r--etc/nginx/sites-enabled/www-ssl.site17
1 files changed, 12 insertions, 5 deletions
diff --git a/etc/nginx/sites-enabled/www-ssl.site b/etc/nginx/sites-enabled/www-ssl.site
index f9ef609..e43beda 100644
--- a/etc/nginx/sites-enabled/www-ssl.site
+++ b/etc/nginx/sites-enabled/www-ssl.site
@@ -63,17 +63,17 @@ server {
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 ~* /videos/.*\.(png|jpg|ogv|webm|gif|svg)$ {
+ root /var/www;
+ expires max;
+ }
+
location /releases {
root /var/www;
autoindex on;
@@ -82,4 +82,11 @@ server {
location /files {
root /var/www;
}
+
+ location ~* \.(png|jpg|jpeg|gif|ico|svg|js|css)$ {
+ root /var/www/taler.net;
+ expires 1y;
+ }
+
+
}