You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The webui is broken when used behind a reverse proxy under a directory because of some absolute paths. For example, with this handy nginx configuration, it's not working:
The webui looks for socket.io in https://domain.name/socket.io/socket.io.js instead of https://domain.name/peerflix/socket.io/socket.io.js. In index.html <script src="/socket.io/socket.io.js"></script> should be replaced by <script src="socket.io/socket.io.js"></script>
Same thing happens with paths to fonts in stylesheets and at least with /upload and /torrents
The text was updated successfully, but these errors were encountered:
Honestly I never pulled anything because I'm not a real developer. However that looks doable and could be a good start. I'll try, but please be indulgent!
The webui is broken when used behind a reverse proxy under a directory because of some absolute paths. For example, with this handy nginx configuration, it's not working:
The webui looks for socket.io in
https://domain.name/socket.io/socket.io.js
instead ofhttps://domain.name/peerflix/socket.io/socket.io.js
. In index.html<script src="/socket.io/socket.io.js"></script>
should be replaced by<script src="socket.io/socket.io.js"></script>
Same thing happens with paths to fonts in stylesheets and at least with
/upload
and/torrents
The text was updated successfully, but these errors were encountered: