refactor: move nginx globals to globals.sh

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-24 14:24:21 +02:00
parent e7bf900cd8
commit 4a503c494b
2 changed files with 5 additions and 5 deletions

View File

@@ -64,4 +64,9 @@ function set_globals(){
#=============== PRETTY-GCODE =================#
PGC_DIR="${HOME}/pgcode"
PGC_FOR_KLIPPER_REPO="https://github.com/Kragrathea/pgcode"
#================== NGINX =====================#
NGINX_SA="/etc/nginx/sites-available"
NGINX_SE="/etc/nginx/sites-enabled"
NGINX_CONFD="/etc/nginx/conf.d"
}

View File

@@ -11,11 +11,6 @@
set -e
### global variables
NGINX_SA="/etc/nginx/sites-available"
NGINX_SE="/etc/nginx/sites-enabled"
NGINX_CONFD="/etc/nginx/conf.d"
#===================================================#
#=================== REMOVE NGINX ==================#
#===================================================#