r/selfhosted•
oni64

Help wanted with Nginx config for Librephotos

I generally use Nginx proxy_pass to redirect a subdomain to a specific port. However, this doesn't seem to work properly with Librephotos and I keep getting error 502 (presumably because librephotos proxy? Not sure). Does anyone here use Librephotos with Nginx reverse proxy? If yes, I'd love to have a look at your config.

Posted Feb 28, 2021, 2:18 AM UTC

32
DerNeuere•

Hey, you can find the nginx configuration here: https://github.com/LibrePhotos/librephotos-docker/blob/main/proxy/nginx.conf

You will have more sucess finding people who configured librephotos in the discord channel of librephotos. You can find the community on the github page.

2
oni64OP•

Thank you. Finally made it work.

1
StraightTalk86•

Was wondering if you could share how you got it to work? I am trying to do something similar with librephotos and caddy.

1
oni64OP•

I simply used the nginx config mentioned in the comment here. Unfortunately I don't have enough experience with Caddy. Maybe you can try your luck at the Discord server.

1