diff --git a/cicd/nginx/nginx.conf b/cicd/nginx/nginx.conf index 68854bb..af88624 100644 --- a/cicd/nginx/nginx.conf +++ b/cicd/nginx/nginx.conf @@ -6,27 +6,27 @@ http { client_max_body_size 5M; server { - listen 80; - server_name www.ifattidinapoli.it preproduction.ifattidinapoli.it default_server; + listen 80; + server_name www.ifattidinapoli.it preproduction.ifattidinapoli.it default_server; - location / { - proxy_pass http://fdn2.production.webserver/; - proxy_redirect off; - proxy_set_header Host $host; - } + location / { + proxy_pass http://fdn2.production.webserver/; + proxy_redirect off; + proxy_set_header Host $host; + } } - # server { - # listen 80; - # server_name test.ifattidinapoli.it; + server { + listen 80; + server_name test.ifattidinapoli.it; - # location / { - # proxy_pass http://fdn2.test.webserver/; - # proxy_redirect off; - # proxy_set_header Host $host; - # } + location / { + proxy_pass http://fdn2.test.webserver/; + proxy_redirect off; + proxy_set_header Host $host; + } - #} + } } diff --git a/scripts/core.sh b/scripts/core.sh index cac0f63..542d0cd 100755 --- a/scripts/core.sh +++ b/scripts/core.sh @@ -38,7 +38,7 @@ SELECTED_MODES=0 TAG="local" -while getopts "t:hvudpx" o; do +while getopts "t:hvudpxX" o; do case "${o}" in u) UNIT_MODE=1