update conf for production build
fix inappropriate relative urls