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

Update dashboard.subdomain.conf.sample #976

Open
wants to merge 1 commit into
base: swag-dashboard
Choose a base branch
from

Conversation

hellblazer315
Copy link

Changed from explicit IP ranges to using an included config file. Recommend this shouldn't be merged upstream unless linuxserver/docker-swag#520 is as well.

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

Removed all explicit IP Address ranges and instead added an include to a static config file.

Dependency: Requires an internal.conf file as proposed by linuxserver/docker-swag#520

Benefits of this PR and context:

Allows a single place to manage IPs instead of 3 different places in the file. Also allows easier re-use of this configuration in other proxy configs.

How Has This Been Tested?

Created the internal.conf from linuxserver/docker-swag#520 then removed all IP blocks in dashboard.subdomain.conf and replaced with "include /config/nginx/internal.conf". Confirmed access is still restricted to local IPs.

Source / References:

linuxserver/docker-swag#520

Changed from explicit IP ranges to using an included config file. Recommend this shouldn't be merged upstream unless linuxserver/docker-swag#520 is as well.

Signed-off-by: hellblazer315 <[email protected]>
@LinuxServer-CI
Copy link

PR build pushed to ghcr.io/linuxserver/mods:pull_request_976

@LinuxServer-CI
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

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

Successfully merging this pull request may close these issues.

2 participants