[x] I have read the contributing guideline and understand that I have made the correct modifications
Description
Bypass authelia etc for api access to kavita - permits use of OPDS endpoints while auth is in use.
Benefits of this PR and context
With the current config, when using one of the auth options, access to the OPDS endpoint is captured by nginx & redirected to auth. This adds a bypass for the /api endpoint which uses a token system.
How Has This Been Tested?
Implemented the changes on my local system & tested access with Librera on android. Does not work without this change, works with.
Description
Bypass authelia etc for api access to kavita - permits use of OPDS endpoints while auth is in use.
Benefits of this PR and context
With the current config, when using one of the auth options, access to the OPDS endpoint is captured by nginx & redirected to auth. This adds a bypass for the /api endpoint which uses a token system.
How Has This Been Tested?
Implemented the changes on my local system & tested access with Librera on android. Does not work without this change, works with.
Source / References
Changes taken from Kavita's docs: https://wiki.kavitareader.com/en/install/access-kavita-from-network/reverse-proxy/swag-example