From 59c48d49c5f06a46c342b4e7f86fbd1ed9894bd6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 23 Jan 2018 09:00:23 +0100 Subject: Peertube home in /var/www instead of /home --- support/nginx/peertube | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'support/nginx/peertube') 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 { location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ { add_header Cache-Control "public, max-age=31536000, immutable"; - alias /home/peertube/peertube-latest/client/dist/$1; + alias /var/www/peertube/peertube-latest/client/dist/$1; } location ~ ^/static/(thumbnails|avatars)/(.*)$ { add_header Cache-Control "public, max-age=31536000, immutable"; - alias /home/peertube/storage/$1/$2; + alias /var/www/peertube/storage/$1/$2; } location / { @@ -72,7 +72,7 @@ server { access_log off; } - alias /home/peertube/storage/videos; + alias /var/www/peertube/storage/videos; } # Websocket tracker -- cgit v1.2.3