little adjustments to work with nginx server