Article 5E65H AVideo (YouPHPTube) Nginx Proxy

AVideo (YouPHPTube) Nginx Proxy

by
nooobeee
from LinuxQuestions.org on (#5E65H)
I am trying to setup AVideo (I think previously known as YouPHPTube) in my homelab. So far I've reverse proxied all my other servers using nginx relatively successfully so that's what I have as a reverse proxy. However it seems with AVideo (whether installed as nginx or apache on the backend server) it does not pass everything through as I would expect. I see text and broken image indicators, but majority of the page doesn't load when reverse proxied through nginx.

It seems this is possible with what someone refers to as rewriting mechanisms. I get the concept of those but have no clue on where to start to configure them.
https://github.com/WWBN/AVideo/issues/1080

It also seems evident that the maintainer/creator is less than enthusiastic about helping with nginx so I figured I'd try to get some suggestions here.

My current nginx config for this is relatively basic:
Code:server {

server_name extdns.dns.com;

allow [int-IP-space];
deny all;

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

location / {
proxy_pass http://internalname.internaldomain.net;
proxy_redirect off;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_fo$

}Has anyone set this up or does anyone have suggestions on what to start with to get resources loading through the reverse proxy?latest?d=yIl2AUoC8zA latest?i=_q3J8hXDcyw:wG55LadAIS4:F7zBnMy latest?i=_q3J8hXDcyw:wG55LadAIS4:V_sGLiP latest?d=qj6IDK7rITs latest?i=_q3J8hXDcyw:wG55LadAIS4:gIN9vFw_q3J8hXDcyw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments