Comments (9)
Well, I tried to use a wireguard instance. Let peertube listen on the wireguard IP, then tried to use the standard nginx config on the remote server. This worked, but videos didn't play.
What's the best config currently for a nginx proxy mirror -> nginx main (local) -> peertube (local) ?
from peertube.
Hello,
PeerTube generates URLs using your webserver
config: https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L6
So the webserver
section in your config should represent the public URL of your nginx proxy mirror
from peertube.
Hello,
PeerTube generates URLs using your
webserver
config: https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L6So the
webserver
section in your config should represent the public URL of your nginx proxy mirror
Right so that's what I'm saying. When clicking on a URL in the redundancy page it redirects to url:port when it should just be url.
The printed URL is correct but the hyperlink goes to url:port.
from peertube.
The printed URL is correct but the hyperlink goes to url:port
Can you create manually a redundancy on a new video to check if it's not an issue only with old redundancies?
from peertube.
I just followed diode.zone and manually created a mirror of a video. The URL is correct (including hyperlink) but when opening the URL it redirects to vidbin.org:301, the internal nginx server port.
Try going to https://vidbin.org/static/redundancy/hls/45f9cf25-f3a1-4b35-be76-1b1662225bb6
from peertube.
Also the videos my instance hosts play fine, so I'm not sure if this is a bug in peertube or something to do with my nginx configuration.
from peertube.
Try going to https://vidbin.org/static/redundancy/hls/45f9cf25-f3a1-4b35-be76-1b1662225bb6
PeerTube doesn't have redirects on this route, so I think it's a nginx issue?
from peertube.
I'm using the standard nginx config that comes with peertube on the main server. This is the current cache mirror configuration:
https://gist.github.com/vid-bin/c7b860e67b56cc6c8b40a46a51f66ebe#file-gistfile1-txt
I don't see anything that would specifically make redundancy videos redirect to port 301. All other pages on peertube appear to work fine.
from peertube.
I changed the config to not use the port and just use standard 443 which did solve that issue, but now I'm getting 404 not found errors when trying to browse the redundancy video directly. Unsure if that's normal behavior for redundancy videos or if it's a bug, because I've never used redundancy with peertube before.
https://vidbin.org/redundancy/hls/6a88a567-f3d2-4dfa-962b-7983fd1f1446
from peertube.
Related Issues (20)
- Plugins issue after migrating to new server HOT 2
- cannot make a documentation fix HOT 3
- Cannot update GeoIP database for cities HOT 1
- Instance is getting slow upon failed geoip db update HOT 2
- Slow query to select videos HOT 4
- Admin Portal Opt-Out of Username Case Sensitivity HOT 2
- Add field for "origin"
- SQL error upon updating actor HOT 2
- Slow query upon listing playlists HOT 2
- Add a button to translate comments
- Seeding HOT 1
- Provide a federation link HOT 4
- number of views HOT 1
- Slow query upon updating user video history HOT 3
- Add scheduler to delete old notifications HOT 6
- Explicitly don't cache HTML files
- Postgres serialization issue after multiple permanent live streams re-starting simultaneously HOT 1
- Lightweight PeerTube icon, for blogs/sites to place in footers, etc. HOT 1
- Ensure client don't cache plugin translations file
- Transcoding failed: Missing lock for job HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peertube.