forked from exozyme/nginx
PeerTube 6.0.3
This commit is contained in:
parent
f9748b3ec7
commit
1ca4e9c17a
|
@ -158,7 +158,7 @@ server {
|
||||||
alias /usr/share/webapps/peertube/client/dist/$1;
|
alias /usr/share/webapps/peertube/client/dist/$1;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^(/static/(webseed|web-videos|streaming-playlists)/private/)|^/download {
|
location ~ ^(/static/(webseed|web-videos|streaming-playlists/hls)/private/)|^/download {
|
||||||
# We can't rate limit a try_files directive, so we need to duplicate @api
|
# We can't rate limit a try_files directive, so we need to duplicate @api
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
Loading…
Reference in a new issue