have agreement between nginx and django settings for host