Solved peertube bugs

This commit is contained in:
2025-07-26 08:08:51 +02:00
parent 996244b672
commit f9f76892af
4 changed files with 12 additions and 8 deletions

View File

@@ -2,8 +2,8 @@ location {{ location_ws }} {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://127.0.0.1:{{ ws_port }};
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:{{ ws_port }};
# Proxy buffering needs to be disabled for websockets.
proxy_buffering off;