clipface
clipface copied to clipboard
Possible to configure nginx subfolder?
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; }
Good point, that's a really useful feature. It should also be pretty trivial to implement.
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.