Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: IP restriction #6221

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

Open
qxo wants to merge 1 commit into mudler:master
base: master
Choose a base branch
Loading
from qxo:feat-webui-ip-limit
Open

feat: IP restriction #6221

qxo wants to merge 1 commit into mudler:master from qxo:feat-webui-ip-limit

Conversation

@qxo
Copy link
Contributor

@qxo qxo commented Sep 8, 2025
edited
Loading

ie:
'''
LOCALAI_IP_ALLOWLIST=192.168.1.0/24,10.0.0.1,127.0.0.1 '''

Description

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

ie:
'''
LOCALAI_IP_ALLOWLIST=192.168.1.0/24,10.0.0.1,127.0.0.1
'''
Copy link

netlify bot commented Sep 8, 2025
edited
Loading

Deploy Preview for localai ready!

Name Link
🔨 Latest commit a8c1ace
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/68befd9fe6926d00085d03ae
😎 Deploy Preview https://deploy-preview-6221--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@@ -0,0 +1,100 @@
package utils
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks better placed as ipallowlist.go file inside core/http rather than having it's own utils package.

"testing"
)

func TestIPAllowList(t *testing.T) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better be consistent with all the other tests in this repository and use ginkgo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mudler mudler mudler left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /