* make remaining bash scripts as executable
- remove unnecessary zone ru from example domain naming * correct (un)create symlinks scripts
This commit is contained in:
0
bash/tail-db-general-log.sh
Normal file → Executable file
0
bash/tail-db-general-log.sh
Normal file → Executable 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;
|
||||
|
@ -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}/
|
||||
|
@ -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
|
Reference in New Issue
Block a user