Skip to content

Update default.conf.sample to deny dotfile access#48

Open
nemchik wants to merge 2 commits into
mainfrom
deny-dotfile-access
Open

Update default.conf.sample to deny dotfile access#48
nemchik wants to merge 2 commits into
mainfrom
deny-dotfile-access

Conversation

@nemchik
Copy link
Copy Markdown
Member

@nemchik nemchik commented Feb 8, 2026

No description provided.

Signed-off-by: Eric Nemchik <eric@nemchik.com>
@LinuxServer-CI
Copy link
Copy Markdown
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-8ad80d9e-dev-75373e1ae808f7e2c7d8d7683bcd25046168d338-pr-48/index.html
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-8ad80d9e-dev-75373e1ae808f7e2c7d8d7683bcd25046168d338-pr-48/shellcheck-result.xml

Tag Passed
amd64-5.2.3-pkg-8ad80d9e-dev-75373e1ae808f7e2c7d8d7683bcd25046168d338-pr-48
arm64v8-5.2.3-pkg-8ad80d9e-dev-75373e1ae808f7e2c7d8d7683bcd25046168d338-pr-48

@LinuxServer-CI
Copy link
Copy Markdown
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-2af574df-dev-2ea6b6bf85023d786203d87c154729d5bd21e007-pr-48/index.html
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-2af574df-dev-2ea6b6bf85023d786203d87c154729d5bd21e007-pr-48/shellcheck-result.xml

Tag Passed
amd64-5.2.3-pkg-2af574df-dev-2ea6b6bf85023d786203d87c154729d5bd21e007-pr-48
arm64v8-5.2.3-pkg-2af574df-dev-2ea6b6bf85023d786203d87c154729d5bd21e007-pr-48

@LinuxServer-CI
Copy link
Copy Markdown
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-9ce45284-dev-6bb9784d052ba59fbbf8b3cf6fccc23f4408cdc3-pr-48/index.html
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-9ce45284-dev-6bb9784d052ba59fbbf8b3cf6fccc23f4408cdc3-pr-48/shellcheck-result.xml

Tag Passed
amd64-5.2.3-pkg-9ce45284-dev-6bb9784d052ba59fbbf8b3cf6fccc23f4408cdc3-pr-48
arm64v8-5.2.3-pkg-9ce45284-dev-6bb9784d052ba59fbbf8b3cf6fccc23f4408cdc3-pr-48

@LinuxServer-CI
Copy link
Copy Markdown
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-054e6efe-dev-b496dc4ce4bad2452e77ae51f08a20aee0cbb697-pr-48/index.html
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-054e6efe-dev-b496dc4ce4bad2452e77ae51f08a20aee0cbb697-pr-48/shellcheck-result.xml

Tag Passed
amd64-5.2.3-pkg-054e6efe-dev-b496dc4ce4bad2452e77ae51f08a20aee0cbb697-pr-48
arm64v8-5.2.3-pkg-054e6efe-dev-b496dc4ce4bad2452e77ae51f08a20aee0cbb697-pr-48

Signed-off-by: Eric Nemchik <eric@nemchik.com>
Copilot AI review requested due to automatic review settings May 5, 2026 21:43
@LinuxServer-CI LinuxServer-CI moved this from PRs to PRs Ready For Team Review in Issue & PR Tracker May 5, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the bundled nginx site config sample for the phpMyAdmin container to harden access rules around hidden “dotfiles”, and records the change in the README changelog variables.

Changes:

  • Add nginx location rules to allow /.well-known while denying access to all other dotfiles.
  • Add QUIC listen directives on 443 (HTTP/3-related) in the sample config.
  • Add a new changelog entry in readme-vars.yml describing the dotfile access change.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
root/defaults/nginx/site-confs/default.conf.sample Adds dotfile deny + /.well-known allow rules; also introduces QUIC listeners and formatting tweaks.
readme-vars.yml Adds a changelog entry instructing existing users to update nginx site config for dotfile denial.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 13 to +16
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
listen 443 quic reuseport default_server;
listen [::]:443 quic reuseport default_server;
Comment on lines +25 to +29
# Allow access to the ".well-known" directory
location ^~ /.well-known {
allow all;
}

Comment thread readme-vars.yml
"phpmyadmin:latest" <- Base Images
# changelog
changelogs:
- {date: "08.02.26:", desc: "Existing users should update: site-confs/default.conf - Deny access to all dotfiles."}
@LinuxServer-CI LinuxServer-CI moved this from PRs Ready For Team Review to PRs in Issue & PR Tracker May 5, 2026
@LinuxServer-CI
Copy link
Copy Markdown
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-807581ca-dev-4f3fcd599599e4f8a6f5def12b0b62f03b4db188-pr-48/index.html
https://ci-tests.linuxserver.io/lspipepr/phpmyadmin/5.2.3-pkg-807581ca-dev-4f3fcd599599e4f8a6f5def12b0b62f03b4db188-pr-48/shellcheck-result.xml

Tag Passed
amd64-5.2.3-pkg-807581ca-dev-4f3fcd599599e4f8a6f5def12b0b62f03b4db188-pr-48
arm64v8-5.2.3-pkg-807581ca-dev-4f3fcd599599e4f8a6f5def12b0b62f03b4db188-pr-48

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants