We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c64f28e commit 806e3aaCopy full SHA for 806e3aa
install
@@ -454,6 +454,14 @@ function ee_update_latest()
454
fi
455
456
457
+ #Fix Security Issue. commit #c64f28e
458
+ if [ -f /etc/nginx/common/locations.conf ]; then
459
+ grep -0 '$request_uri ~\* \"^.+(readme|license|example)\\.(txt|html)$\"' /etc/nginx/common/locations.conf &>> /dev/null
460
+ if [ $? -eq 0 ]; then
461
+ sed -i 's/$request_uri ~\* \"^.+(readme|license|example)\\.(txt|html)$\"/$uri ~\* \"^.+(readme|license|example)\\.(txt|html)$\"/g' /etc/nginx/common/locations.conf &>> /dev/null
462
+ fi
463
464
+
465
# Fix for 3.3.2 renamed nginx.conf
466
nginx -V 2>&1 &>>/dev/null
467
if [[ $? -eq 0 ]]; then
0 commit comments