Skip to content

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

Open
nemchik wants to merge 2 commits intoglitchfrom
deny-dotfile-access-glitch
Open

Update default.conf.sample to deny dotfile access#135
nemchik wants to merge 2 commits intoglitchfrom
deny-dotfile-access-glitch

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-mastodon:glitch-v4.5.6-pkg-33bb70c3-dev-60c2ad4b59cb1dcc0f2b8d7f1928716572befa60-pr-135

@LinuxServer-CI
Copy link
Copy Markdown
Contributor

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

ghcr.io/linuxserver/lspipepr-mastodon:glitch-v4.5.7-pkg-126d7764-dev-620d0e1cb9db0c89913be766f9df7ce2b0aeb8be-pr-135

@LinuxServer-CI
Copy link
Copy Markdown
Contributor

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

ghcr.io/linuxserver/lspipepr-mastodon:glitch-v4.5.8-pkg-5106bfc9-dev-1a4a9590a719d0946208acf01020569b71f18369-pr-135

@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:51
@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 configuration sample to reduce accidental exposure of hidden “dotfiles” from the Mastodon public web root, and documents the change in the project changelog.

Changes:

  • Add a dotfile-deny location block while explicitly allowing /.well-known.
  • Update the server listen directives (IPv4/IPv6 + QUIC) in the sample config.
  • Add a changelog entry describing the dotfile-deny update.

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 allow rule and a general dotfile deny; also changes listen directives including QUIC.
readme-vars.yml Documents the change via a new changelog entry.

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

Comment on lines +23 to +24
listen 443 quic reuseport default_server;
listen [::]:443 quic reuseport default_server;
Comment on lines +32 to +36
# Allow access to the ".well-known" directory
location ^~ /.well-known {
allow all;
}

Comment thread readme-vars.yml
"mastodon:glitch" <- Base Images
# changelog
changelogs:
- {date: "08.02.26:", desc: "Existing users should update: site-confs/default.conf - Deny access to all dotfiles."}
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