From c18df60b2abb7f40522ab24856f1b01e93efde67 Mon Sep 17 00:00:00 2001 From: Ivan Iliev Date: Tue, 5 Oct 2021 20:13:40 +0300 Subject: [PATCH] fixed: removed extra column at setup-mysql.sh script and changed access to robots.txt to deny all --- dev/phpservermon-default | 2 +- setup-mysql.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/phpservermon-default b/dev/phpservermon-default index c233fd53..52b5a293 100755 --- a/dev/phpservermon-default +++ b/dev/phpservermon-default @@ -26,7 +26,7 @@ server { } location = /robots.txt { - allow all; + denyall; log_not_found off; access_log off; } diff --git a/setup-mysql.sh b/setup-mysql.sh index 1259f885..dc5b056c 100755 --- a/setup-mysql.sh +++ b/setup-mysql.sh @@ -4,5 +4,5 @@ mysql -e "CREATE DATABASE psm;" # Create user mysql -e "CREATE USER 'psm'@'localhost' IDENTIFIED BY 'psm-dev-password';" mysql -e "GRANT ALL PRIVILEGES ON psm.* TO 'psm'@'localhost';" -mysql -e "FLUSH PRIVILEGES;"; +mysql -e "FLUSH PRIVILEGES;"