#!/bin/bash

source utils.sh

replace $NGINX_DEFAULT_CONFIG  PROXY_
# sed -i "s/PROXY_WEB_SERVICE/$PROXY_WEB_SERVICE/g"  /etc/nginx/conf.d/default.conf
replace "*.js"  LOGIN_URL  /usr/share/nginx/html
replace "*.js"  FILE_IMG_URL  /usr/share/nginx/html
# bash -c "/usr/bin/reg2eureka.sh &"
nginx -g 'daemon off;'
