aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'support/nginx')
-rw-r--r--support/nginx/peertube6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 098818e57..5261cddb4 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -26,13 +26,13 @@ server {
26 location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ { 26 location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ {
27 add_header Cache-Control "public, max-age=31536000, immutable"; 27 add_header Cache-Control "public, max-age=31536000, immutable";
28 28
29 alias /home/peertube/peertube-latest/client/dist/$1; 29 alias /var/www/peertube/peertube-latest/client/dist/$1;
30 } 30 }
31 31
32 location ~ ^/static/(thumbnails|avatars)/(.*)$ { 32 location ~ ^/static/(thumbnails|avatars)/(.*)$ {
33 add_header Cache-Control "public, max-age=31536000, immutable"; 33 add_header Cache-Control "public, max-age=31536000, immutable";
34 34
35 alias /home/peertube/storage/$1/$2; 35 alias /var/www/peertube/storage/$1/$2;
36 } 36 }
37 37
38 location / { 38 location / {
@@ -72,7 +72,7 @@ server {
72 access_log off; 72 access_log off;
73 } 73 }
74 74
75 alias /home/peertube/storage/videos; 75 alias /var/www/peertube/storage/videos;
76 } 76 }
77 77
78 # Websocket tracker 78 # Websocket tracker