1
0
mirror of https://yerbamate.ml/nutomic/peertube.social synced 2024-11-24 23:28:20 -05:00

Add proxy_pass back, which is required

This commit is contained in:
Felix Ableitner 2019-03-28 01:29:47 +01:00
parent 952abb4a3f
commit cd5b794fe1

View File

@ -26,16 +26,17 @@ http {
location / {
proxy_pass http://peertube:9000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 600M;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 600M;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
}
location ~ ^/(static/(thumbnails|previews|avatars)|client)/ {
proxy_pass http://peertube:9000;
proxy_cache peertube_cache;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
proxy_cache_revalidate on;