clipface icon indicating copy to clipboard operation
clipface copied to clipboard

Possible to configure nginx subfolder?

Open ScottJWhite opened this issue 3 years ago • 2 comments

Is it possible to configure clipface on a subfolder? It works great if it place in the root location block in my nginx config, but if I try to do it on a subfolder I get 404 errors.

something like /clips instead of the root?:

location /clips { proxy_pass http://clipface/; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_connect_timeout 3s; proxy_send_timeout 10s; proxy_read_timeout 300s; client_max_body_size 100m; }

ScottJWhite avatar Sep 11 '21 15:09 ScottJWhite

Good point, that's a really useful feature. It should also be pretty trivial to implement.

Hubro avatar Sep 12 '21 13:09 Hubro

I managed to forward it to a custom URL path using reverse proxy but it got confused once we get there cause all of the clips path is /watch I guess there needs to be a parameter that converts every subsequent URL to be behind the existing custom URL. I might be talking nonsense anw, it's my first time using a reverse proxy lol. image image

atutr001 avatar Dec 05 '21 18:12 atutr001