LibreChat-AI / librechat.ai

librechat.ai
https://www.librechat.ai
MIT License
86 stars 50 forks source link

Feedback for “Reverse Proxy with Basic Authentication” #111

Closed kght6123 closed 1 week ago

kght6123 commented 2 weeks ago

I recently needed the following additional settings for Nginx.

One is to exclude Basic Authentication for manifest.

        location /manifest.webmanifest {
            auth_basic off;
            proxy_pass http://127.0.0.1:3080;
        }

The second is to exclude Basic authentication from the health check required when using the Cloudflare registrar.

        location /health {
            auth_basic off;
            proxy_pass http://127.0.0.1:3080;
        }

Without this, Safari and Chrome will repeatedly request credentials. Safari in particular is difficult to use on iPads, iPhones, Macs, etc., as previous Safari bugs prevented access to sites and require Basic credentials to be entered each time a site is saved.

Some of the issues are specific to Cloudflare and Safari but took a while to resolve, Please add them to the documentation if you like.

fuegovic commented 2 weeks ago

You are welcome to submit a pull request for this; you can do so easily by clicking on 'Edit this page on GitHub' located at the bottom of the right-hand sidebar. image

kght6123 commented 1 week ago

@fuegovic Created PR. Please confirm. https://github.com/LibreChat-AI/librechat.ai/pull/117