diff --git a/root/migrations/02-default-location b/root/migrations/02-default-location index 5abca39..8a66d0c 100644 --- a/root/migrations/02-default-location +++ b/root/migrations/02-default-location @@ -1,7 +1,7 @@ #!/usr/bin/with-contenv bash DEFAULT_CONF="/config/nginx/site-confs/default.conf" -OLD_ROOT="root /var/www/localhost/cops;" +OLD_ROOT="root\s*/var/www/localhost/cops;" NEW_ROOT="root /app/www/public;" if grep -q "${OLD_ROOT}" "${DEFAULT_CONF}";then