Fixed base url to work with nginx