Skip to content

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

Open
nemchik wants to merge 3 commits intomasterfrom
deny-dotfile-access
Open

Update default.conf.sample to deny dotfile access#601
nemchik wants to merge 3 commits intomasterfrom
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 is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-swag:5.3.0-pkg-6f5195e9-dev-716b1237c59146fe7b4c256285a62b313f2ff88c-pr-601

@LinuxServer-CI
Copy link
Copy Markdown
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-swag:5.3.1-pkg-ed388f16-dev-285119f3e397aa665fbfd0e82667d72ac35a0ae0-pr-601

@LinuxServer-CI
Copy link
Copy Markdown
Contributor

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.

Signed-off-by: Eric Nemchik <eric@nemchik.com>
Copilot AI review requested due to automatic review settings May 5, 2026 21:44
@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

This PR hardens the default SWAG nginx site sample by adding a broad dotfile deny rule and records the config change in the generated README changelog for existing users.

Changes:

  • Add a new nginx location rule intended to deny access to dotfiles in the default site config.
  • Add a .well-known exception and reformat a few existing commented directives.
  • Add a changelog entry in readme-vars.yml telling existing users to update site-confs/default.conf.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
root/defaults/nginx/site-confs/default.conf.sample Adds the new dotfile access restriction and .well-known exception in the default nginx site config.
readme-vars.yml Documents the config change in the generated changelog for users updating existing installs.

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

index index.html index.htm index.php;

# Allow access to the ".well-known" directory
location ^~ /.well-known {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: PRs Ready For Team Review

Development

Successfully merging this pull request may close these issues.

3 participants