Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subfolder #38

Open
Bumbadawg opened this issue Mar 9, 2020 · 1 comment
Open

Subfolder #38

Bumbadawg opened this issue Mar 9, 2020 · 1 comment

Comments

@Bumbadawg
Copy link

Hi, i tried nginx proxy_pass, rewrite, modifying the source and webpacking it back; nothing got it to work in a subfolder in reverse proxy.
Anyone got a working example ?

@laurensmiers
Copy link

laurensmiers commented Apr 19, 2020

Hi, I'm also having some trouble with this.

Just to be sure, what do you mean with not working? I can get the webpage to appear with the following nginx config (I'm not totally comfortable with nginx so there may be some stuff missing/ wrong, just fyi, last two lines are intentional to only allow local network):

location /ytdl/ {
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_pass http://localhost:3000;

    allow 192.168.1.0/24;
    deny all;
}

I enter a link to download and it seems to start but it hangs forever...
Just wanted to know if this was the same behaviour you were seeing.

Will try to investigate further to get some debug info if I find the time (+ I would have to dive in javascript as well so don't hold your breath :)...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants