We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been trying to set this up with Caddy instead of NGINX, this is what I have so far:
:7680 { reverse_proxy * :7682 { header_up Host {http.request.host} } @api path /api/* /media/* reverse_proxy @api :7681 { header_up Host backend header_up X-Real-IP {http.request.remote} } @protected_media { remote_ip 127.0.0.1 path /protected_media* } file_server @protected_media { root /var/lib/librephotos/ } @original { remote_ip 127.0.0.1 path /original* } handle @original { uri strip_prefix /original file_server { root /var/lib/librephotos/data/ } } @nextcloud_original { remote_ip 127.0.0.1 path /nextcloud_original* } handle @nextcloud_original { uri strip_prefix /nextcloud_original file_server { root /var/lib/librephotos/data/nextcloud_media/ } } }
The page loads but no images are loading. It also doesn't redirect to /. Maybe the lack of uwsgi is the problem with the images?
/
The text was updated successfully, but these errors were encountered:
@UndarkAido cat you give me all instruction to install caddy? Like
Sorry, something went wrong.
@tomamplius Install Guide: https://caddyserver.com/docs/install Quickstart Guide: https://caddyserver.com/docs/getting-started
Oh- also the three file redirects aren't internal, I'm not sure if Caddy has an equivalent. This isn't really my area of expertise lol.
internal
No branches or pull requests
I've been trying to set this up with Caddy instead of NGINX, this is what I have so far:
The page loads but no images are loading. It also doesn't redirect to
/
. Maybe the lack of uwsgi is the problem with the images?The text was updated successfully, but these errors were encountered: