* make remaining bash scripts as executable

- remove unnecessary zone ru from example domain naming
* correct (un)create symlinks scripts
This commit is contained in:
qemu-test
2023-01-17 11:55:27 +03:00
parent 829107e5f5
commit 15c6a8eb53
4 changed files with 6 additions and 9 deletions

0
bash/tail-db-general-log.sh Normal file → Executable file
View File

View File

@ -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;

View File

@ -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}/

View File

@ -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