This Nginx subfolder reverse proxy is an unsupported workaround, and only provided as an example. The filters may stop working when Overseerr is updated.
If you encounter any issues with Overseerr while using this workaround, we may ask you to try to reproduce the problem without the Nginx proxy.
Add the following location block to your existing nginx.conf file.
location^~/overseerr { set $app 'overseerr';# Remove /overseerr path to pass to the apprewrite^/overseerr/?(.*)$ /$1 break; proxy_pass http://127.0.0.1:5055; # NO TRAILING SLASH# Redirect location headers proxy_redirect ^ /$app; proxy_redirect /setup /$app/setup; proxy_redirect /login /$app/login;# Sub filters to replace hardcoded paths proxy_set_header Accept-Encoding ""; sub_filter_once off; sub_filter_types *; sub_filter 'href="/"''href="/$app"'; sub_filter 'href="/login"''href="/$app/login"'; sub_filter 'href:"/"''href:"/$app"'; sub_filter '/_next''/$app/_next'; sub_filter '/api/v1''/$app/api/v1'; sub_filter '/login/plex/loading''/$app/login/plex/loading'; sub_filter '/images/''/$app/images/'; sub_filter '/android-''/$app/android-'; sub_filter '/apple-''/$app/apple-'; sub_filter '/favicon''/$app/favicon'; sub_filter '/logo_''/$app/logo_'; sub_filter '/site.webmanifest''/$app/site.webmanifest';}
Traefik (v2)
Add the following labels to the Overseerr service in your docker-compose.yml file: