summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nginx/sites-enabled')
-rw-r--r--etc/nginx/sites-enabled/www-stage.site17
1 files changed, 12 insertions, 5 deletions
diff --git a/etc/nginx/sites-enabled/www-stage.site b/etc/nginx/sites-enabled/www-stage.site
index 555e60d..e8a988b 100644
--- a/etc/nginx/sites-enabled/www-stage.site
+++ b/etc/nginx/sites-enabled/www-stage.site
@@ -48,17 +48,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 /home/docbuilder/stage.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;
+ }
+
# FIXME: this location newest files are from Oct'16
location /releases {
root /var/www;
@@ -68,4 +68,11 @@ server {
location /files {
root /var/www;
}
+
+ location ~* \.(png|jpg|jpeg|gif|ico|svg|js|css)$ {
+ root /home/docbuilder/stage.taler.net;
+ expires 1y;
+ }
+
+
}