aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-23 09:00:23 +0100
committerChocobozzz <me@florianbigard.com>2018-01-23 09:00:23 +0100
commit59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6 (patch)
tree84bae36b9953b0369946a686faac1ed6cb5f82da /support/nginx
parente5203ffa1260ee03f0f84ef6b65d57ccad5ee695 (diff)
downloadPeerTube-59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6.tar.gz
PeerTube-59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6.tar.zst
PeerTube-59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6.zip
Peertube home in /var/www instead of /home
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