Make the app work with http on nginx too