Custom Error Pages
Last updated
Last updated
Organizr comes with integrated error pages, they have to be configured in the webserver.
It accepts most error codes, and can do a redirect when the user has acknowledged the error.
The full Syntax for the error page is:
Type | Breakdown |
$scheme://$server_name | This will translate to the URL to the domain that the servers gets the request from. i.e. https://organizr.app |
/api/v2/organizr/error/ | Path to the error page |
$status | This will set the correct Status code for the error page |
?return=$request_uri | OPTIONAL: This will let Organizr know to redirect the user once they have logged in |
You may set custom ones with predefined URLs
To get error pages to work with a reverse proxies, you may need to tell the webserver to intercept the errors from the service.
In NGINX the way to do this is with proxy_intercept_errors on;
This can break some services (like plex), add proxy_intercept_errors off;
to the location if that is the case.
If you have Organizr Reversed Proxied, which we are sure you do. You need to add an additional block for the API so it doesn't overwrite the errors for it.