Update regex to allow AWS private URLs