Peertube home in /var/www instead of /home
This commit is contained in:
parent
e5203ffa12
commit
59c48d49c5
5 changed files with 35 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue