diff --git a/bash/tail-db-general-log.sh b/bash/tail-db-general-log.sh old mode 100644 new mode 100755 diff --git a/config/nginx/conf.d/vhosts.conf.example b/config/nginx/conf.d/vhosts.conf.example index 51be55f..819a4e8 100644 --- a/config/nginx/conf.d/vhosts.conf.example +++ b/config/nginx/conf.d/vhosts.conf.example @@ -7,8 +7,8 @@ upstream php74 { } map $http_host $root { - octobercms.ru.local.wpstudio.ru /usr/share/nginx/html/someproject; - wordpress.ru.local.wpstudio.ru /usr/share/nginx/html/someprojectwp; + octobercms.local.wpstudio.ru /usr/share/nginx/html/someproject; + wordpress.local.wpstudio.ru /usr/share/nginx/html/someprojectwp; } # @see https://github.com/OFFLINE-GmbH/oc-responsive-images-plugin/#responsive-images @@ -20,13 +20,10 @@ map $http_accept $webp_suffix { resolver 8.8.8.8; map $http_host $uploads_upstream { - wordpress.ru.local.wpstudio.ru "https://somewp.site"; + wordpress.local.wpstudio.ru "https://somewp.site"; } server { - server_name - octobercms.ru.local.wpstudio.ru - ; listen 80 default; root $root; #include global/auth.conf; diff --git a/create-symlinks.sh b/create-symlinks.sh index b84801f..8b3c346 100755 --- a/create-symlinks.sh +++ b/create-symlinks.sh @@ -3,7 +3,7 @@ DIR="$(realpath $(dirname "$(readlink -f "$0")"))" BASH_SCRIPTS_DIR="${DIR}/bash" -BASH_SCRIPTS=(ls $BASH_SCRIPTS_DIR) +BASH_SCRIPTS=(`ls $BASH_SCRIPTS_DIR`) for FILENAME in "${BASH_SCRIPTS[@]}"; do ln -s ${BASH_SCRIPTS_DIR}/${FILENAME} ${HOME}/ diff --git a/uncreate-symlinks.sh b/uncreate-symlinks.sh index b84801f..3b0eb9f 100755 --- a/uncreate-symlinks.sh +++ b/uncreate-symlinks.sh @@ -3,8 +3,8 @@ DIR="$(realpath $(dirname "$(readlink -f "$0")"))" BASH_SCRIPTS_DIR="${DIR}/bash" -BASH_SCRIPTS=(ls $BASH_SCRIPTS_DIR) +BASH_SCRIPTS=(`ls $BASH_SCRIPTS_DIR`) for FILENAME in "${BASH_SCRIPTS[@]}"; do - ln -s ${BASH_SCRIPTS_DIR}/${FILENAME} ${HOME}/ + rm ${HOME}/${FILENAME} done \ No newline at end of file