mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-02-20 15:56:36 -05:00
- Base URL option in settings for reverse proxy setups - Fix NZB downloads not deleting on completion - Fix handling for audiobook files over 100+ parts - Fix prowlarr search timeout - Fix prowlarr categorisation for expanded searches
996 B
996 B
Reverse Proxy & Subpath Hosting
Shelfmark can run behind a reverse proxy at the root path (recommended) or
under a subpath like /shelfmark.
Subpath setup
- Set the base path in Shelfmark:
- UI: Settings → Advanced → Base Path
- Env var:
URL_BASE=/shelfmark
- Configure your reverse proxy to forward the subpath to Shelfmark and strip the prefix before sending to the backend. The proxy must also allow WebSocket upgrades for Socket.IO.
Example (Nginx-style):
location /shelfmark/ {
proxy_pass http://shelfmark:8084/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
Notes:
- Use a trailing slash on the
locationandproxy_passto ensure the/shelfmarkprefix is removed. - Health checks still work at
/api/healthwithout the subpath.
Root path setup
If you can serve Shelfmark at the root path (https://shelfmark.example.com/),
leave URL_BASE empty. This is the simplest option.