Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] is possible to add a password or a login screen before we can acess the chat ? #23

Open
mariojgt opened this issue Aug 18, 2023 · 2 comments

Comments

@mariojgt
Copy link

No description provided.

@mayankchhabra
Copy link
Member

Totally understand the reasoning. Unfortunately this will be on a lower priority for us for now, considering most users using LlamaGPT are running it on umbrelOS, which automatically provides an authentication layer in front of all apps with 2FA support.

Happy to keep the issue open and revisit it as we tick off higher priority tasks on the roadmap.

@dallaslu
Copy link

You can use auth_basic with nginx.

htpasswd -c /home/llama/.htpasswd username

Nginx:

server {
    listen  443 ssl http2;
    listen  [::]:443 ssl http2;
    server_name llama.example.com;
    
    # ssl cert config...
    # security conf
    
    location ^~ /{
        auth_basic  "Llama GPT";
        auth_basic_user_file    "/home/llama/.htpasswd";
        proxy_pass  http://localhost:3000;
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants