change directories in thin and nginx config