I’m running Kobo behind Nginx as. a reverse proxy. All is working, but I want to protect the API with Basic Authentication - so I enabled nginx Basic auth using this:
satisfy any; allow 127.0.0.1; # localhost allow 10.0.1.0/24; # local traffic deny all; auth_basic "Authenticated Users"; auth_basic_user_file htpasswd;
The issue is that the basic Authorization header is proxied to Kobo. No big deal, I remove the header using:
proxy_set_header Authorization "";
Now though - I get a weird situation. Whenever I navigate to ANY kobo page, I get
Status 204 No-Content. Am I missing something obvious here? Could this in any way be a problem with Kobo?
Thank you for any suggestions, I’ve been staring at this for far too long and just wanted a second set of eyes.