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

RESTRICTING ACCESS #63

Open
LostName1 opened this issue Feb 18, 2023 · 2 comments
Open

RESTRICTING ACCESS #63

LostName1 opened this issue Feb 18, 2023 · 2 comments

Comments

@LostName1
Copy link

I am trying to use snippet box with home assistant, but locally as it works with http I can not see the content if I am not in my wifi, so I created a cloudflare tunnel to make the connection https and see the content outside my wifi, but as there is not login for the app, anyone can access my snippet box instance. Is ther any way I can make the app https but also secure?

@alyssadev
Copy link

You can block access to methods other than GET, this works great for restricting access outside my network. internally i can use the service's port number or an internal host

    location / {
        limit_except GET { deny all; }
        include /etc/nginx/proxy.conf;
        proxy_pass http://localhost:40106;
    }

@slfhstr
Copy link

slfhstr commented Oct 7, 2023

I've packaged Snippet-Box for Cloudron (#69) including an authentication login.

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