-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport] Secure errors directory #21946
[Backport] Secure errors directory #21946
Conversation
For apache via .htaccess and in nginx sample configuration
Hi @amol2jcommerce. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @orlangur, please review. |
@amol2jcommerce you could've notice I put in |
Hi @orlangur, thank you for the review. |
Hi @amol2jcommerce, thank you for your contribution! |
Original Pull Request
#20212
Description (*)
For Apache: deny access to XML and PHTML files within errors directory (pub/errors/.htaccess)
For Nginx: deny access to PHTML files in general and XML files within errors directory (nginx.conf.sample)
Fixed Issues (if relevant)
Manual testing scenarios (*)
See issue #20209
Contribution checklist (*)