Uh oh!
There was an error while loading. Please reload this page.
Update default.conf.sample to deny dotfile access - #73
Conversation
Signed-off-by: Eric Nemchik <eric@nemchik.com>
There was a problem hiding this comment.
Pull request overview
Updates the default nginx site configuration sample to block access to dotfiles while still permitting access to /.well-known (commonly needed for ACME challenges), and bumps the embedded version header.
Changes:
- Added explicit
locationhandling to allow/.well-knownrequests. - Added a regex
locationto return 404 for dotfile paths. - Reformatted the PHP
if (!-f ...)guard into a multi-line block.
💡 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 { |
LinuxServer-CI
commented
May 5, 2026
I am a bot, here are the test results for this PR:
|
mikespub
commented
May 27, 2026
nemchik
commented
May 27, 2026
LinuxServer-CI
commented
Jun 5, 2026
I am a bot, here are the test results for this PR for commit 74d6b65 :
|
LinuxServer-CI
commented
Jul 2, 2026
I am a bot, here are the test results for this PR for commit d847062 :
|
LinuxServer-CI
commented
Jul 29, 2026
I am a bot, here are the test results for this PR for commit ce82733 :
|
LinuxServer-CI
commented
Aug 25, 2026
I am a bot, here are the test results for this PR for commit 7ce1a44 :
|
No description provided.