diff --git a/script/_nginx_configure b/script/_nginx_configure index 80557e9d88f..d77ce9f3526 100644 --- a/script/_nginx_configure +++ b/script/_nginx_configure @@ -39,7 +39,7 @@ nginx_configure() sudo cp $top_dir/etc/rest/nginx.conf $nginx_conf_file - sed -i.bak "s:to be set:$top_dir/src/rest/frontend:" $nginx_conf_file + sudo sed -i.bak "s:to be set:$top_dir/src/rest/frontend:" $nginx_conf_file else