You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redlib doesn't have any sort of option to support running under a subdirectory. The FULL_URL option is related to RSS feeds.
I'm not sure if you're aware of the reason running under a subdirectory breaks Redlib (and lots of other apps) but in case you aren't I'll try and explain it:
Within the HTML of the page any link to another resource, stuff like CSS, javascript, or images, starts with /. Take /style.css for example, this causes clients to request /style.css rather than /redlib/style.css and because /style.css is not within your /redlib/ block, NGINX attempts to serve the clients a local file which doesn't exist rather than using your proxy_pass to Redlib and that's why you see those open() errors in the log.
If possible I'd suggest using a subdomain instead of using a subdirectory, it's a lot easier. Even if you can start redirecting requests for / to /redlib/ I'm not sure how you'd extend that to be compatible with more things running under other subdirectories.
I use v0.35.1 version as docker container.
And cannot use behind reverse proxy (NGINX), because many request used wrong URI.
My nginx config
If I use this - all fine.
I want to use not root URI for proxying to redlib service.
Typical log from NGINX
Screen with problem
![Image](https://private-user-images.githubusercontent.com/12157317/408013860-dc095c4b-9dea-4891-86ad-b664197a0f53.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODc2OTUsIm5iZiI6MTczODk4NzM5NSwicGF0aCI6Ii8xMjE1NzMxNy80MDgwMTM4NjAtZGMwOTVjNGItOWRlYS00ODkxLTg2YWQtYjY2NDE5N2EwZjUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA0MDMxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ4NzBhOWExNjdkNDg2YTA1YWI3ZjMwMjExMzA5NTUzNDMxZjgzZmU4MzhhYTE0MjA2MGQ3MTM4NjQxOThmMGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.H4uK3CpJT6gXzPi_Io3zmvFQtC-hegJD8-ZLO5ZvkuI)
I tried to use
FULL_URL
but it not helped.The text was updated successfully, but these errors were encountered: