Skip to content

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

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

Update default.conf.sample to deny dotfile access#87
nemchik wants to merge 2 commits into
masterfrom
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
Collaborator

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-34a020a9-dev-13a66c8720edae892c2d6eabdcc33341e028c245-pr-87/index.html
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-34a020a9-dev-13a66c8720edae892c2d6eabdcc33341e028c245-pr-87/shellcheck-result.xml

Tag Passed
amd64-2025-05-14b-pkg-34a020a9-dev-13a66c8720edae892c2d6eabdcc33341e028c245-pr-87
arm64v8-2025-05-14b-pkg-34a020a9-dev-13a66c8720edae892c2d6eabdcc33341e028c245-pr-87

@LinuxServer-CI
Copy link
Copy Markdown
Collaborator

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-1a8a4535-dev-cffe90bbc2aa0d434c4f3598f98af8fa629b821f-pr-87/index.html
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-1a8a4535-dev-cffe90bbc2aa0d434c4f3598f98af8fa629b821f-pr-87/shellcheck-result.xml

Tag Passed
amd64-2025-05-14b-pkg-1a8a4535-dev-cffe90bbc2aa0d434c4f3598f98af8fa629b821f-pr-87
arm64v8-2025-05-14b-pkg-1a8a4535-dev-cffe90bbc2aa0d434c4f3598f98af8fa629b821f-pr-87

@LinuxServer-CI
Copy link
Copy Markdown
Collaborator

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-ec504a3b-dev-e3f74989ffe156ebb96a691470727b59295f6cbf-pr-87/index.html
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-ec504a3b-dev-e3f74989ffe156ebb96a691470727b59295f6cbf-pr-87/shellcheck-result.xml

Tag Passed
amd64-2025-05-14b-pkg-ec504a3b-dev-e3f74989ffe156ebb96a691470727b59295f6cbf-pr-87
arm64v8-2025-05-14b-pkg-ec504a3b-dev-e3f74989ffe156ebb96a691470727b59295f6cbf-pr-87

@LinuxServer-CI
Copy link
Copy Markdown
Collaborator

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-a92c7db2-dev-433de5161b076c8d65216e54eb2e39b5d78b1ab5-pr-87/index.html
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-a92c7db2-dev-433de5161b076c8d65216e54eb2e39b5d78b1ab5-pr-87/shellcheck-result.xml

Tag Passed
amd64-2025-05-14b-pkg-a92c7db2-dev-433de5161b076c8d65216e54eb2e39b5d78b1ab5-pr-87
arm64v8-2025-05-14b-pkg-a92c7db2-dev-433de5161b076c8d65216e54eb2e39b5d78b1ab5-pr-87

Signed-off-by: Eric Nemchik <eric@nemchik.com>
Copilot AI review requested due to automatic review settings May 5, 2026 21:42
@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 container’s default nginx site configuration to reduce accidental exposure of hidden files (dotfiles), while updating the generated README changelog variables.

Changes:

  • Add an nginx location block to exempt /.well-known and deny access to all other dotfiles.
  • Add QUIC listen directives for port 443 in the sample nginx config.
  • Add a release-note 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 /.well-known allowlist and a global dotfile deny rule; also introduces QUIC listeners and reformats an if block.
readme-vars.yml Adds a changelog entry instructing existing users to update nginx config for dotfile protection.

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

Comment on lines +8 to +9
listen 443 quic reuseport default_server;
listen [::]:443 quic reuseport default_server;
Comment on lines +8 to +9
listen 443 quic reuseport default_server;
listen [::]:443 quic reuseport default_server;
index doku.php;

# Allow access to the ".well-known" directory
location ^~ /.well-known {
@LinuxServer-CI
Copy link
Copy Markdown
Collaborator

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-01d2dd0d-dev-0a7a000a32494e1c1f34d07d008413a431352a4b-pr-87/index.html
https://ci-tests.linuxserver.io/lspipepr/dokuwiki/2025-05-14b-pkg-01d2dd0d-dev-0a7a000a32494e1c1f34d07d008413a431352a4b-pr-87/shellcheck-result.xml

Tag Passed
amd64-2025-05-14b-pkg-01d2dd0d-dev-0a7a000a32494e1c1f34d07d008413a431352a4b-pr-87
arm64v8-2025-05-14b-pkg-01d2dd0d-dev-0a7a000a32494e1c1f34d07d008413a431352a4b-pr-87

@LinuxServer-CI LinuxServer-CI moved this from PRs Ready For Team Review to PRs in Issue & PR Tracker May 5, 2026
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