bugfix(sorting by publication_date) + fix for working with nginx