Update default.conf.sample to deny dotfile access#534
Update default.conf.sample to deny dotfile access#534
Conversation
Signed-off-by: Eric Nemchik <eric@nemchik.com>
|
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. |
|
I am a bot, here are the test results for this PR:
|
There was a problem hiding this comment.
Pull request overview
Updates the bundled Nginx sample site config to block requests for dot-prefixed paths and documents the change in the generated README changelog.
Changes:
- Broaden Nginx dotfile blocking rule in
default.conf.sample. - Bump the sample config version header date.
- Add a changelog entry in
readme-vars.ymladvising existing users to update their site config.
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 | Expands the dotfile deny rule and updates the config version header. |
| readme-vars.yml | Adds a changelog entry describing the dotfile-access change for existing users. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| location ~ /\. { | ||
| deny all; | ||
| log_not_found off; | ||
| access_log off; | ||
| return 404; |
|
I am a bot, here are the test results for this PR:
|
Signed-off-by: Eric Nemchik <eric@nemchik.com>
|
I am a bot, here are the test results for this PR:
|
No description provided.