Hi!
the port listed for the backend here:
https://github.com/LibrePhotos/librephotos-linux/blob/main/resources/etc/nginx/librephotos#L49
seems to be wrong.
Setting this up with certbot leads to the following error:
2023/03/20 17:47:30 [error] 754165#754165: *1 connect() failed (111: Connection refused) while connecting to upstream, client: ***.***.***.***, server:
**.**.** , request: "POST /api/auth/token/obtain/ HTTP/2.0", upstream: "http://127.0.0.1:8001/api/auth/token/obtain/", host: "**.**.**"
Changing
proxy_pass http://127.0.0.1:8001;
to
proxy_pass http://127.0.0.1:3000;
seems to fix the issue. I am by no means an nginx/docker-compose expert, but from what I understand the proxy container in docker compose should correctly resolve that and not the reverse proxy on my webserver.
If this is a viable fix, I am happy to open a PR.
Related: Does the install script actually handle creation of ssl-certs? The reference config file lists them, but as far as I understand they do not get created.
P.S.: Thanks a lot for maintaining this project. I was looking for a way to host and backup my photos and librephotos features a things that I consider killer features.
Hi!
the port listed for the backend here:
https://github.com/LibrePhotos/librephotos-linux/blob/main/resources/etc/nginx/librephotos#L49
seems to be wrong.
Setting this up with certbot leads to the following error:
Changing
to
seems to fix the issue. I am by no means an nginx/docker-compose expert, but from what I understand the proxy container in docker compose should correctly resolve that and not the reverse proxy on my webserver.
If this is a viable fix, I am happy to open a PR.
Related: Does the install script actually handle creation of ssl-certs? The reference config file lists them, but as far as I understand they do not get created.
P.S.: Thanks a lot for maintaining this project. I was looking for a way to host and backup my photos and librephotos features a things that I consider killer features.