diff --git a/scripts/globals.sh b/scripts/globals.sh index daec422..531dfef 100644 --- a/scripts/globals.sh +++ b/scripts/globals.sh @@ -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" } \ No newline at end of file diff --git a/scripts/nginx.sh b/scripts/nginx.sh index 789372b..92ee8a0 100644 --- a/scripts/nginx.sh +++ b/scripts/nginx.sh @@ -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 ==================# #===================================================#