Made appserver upstream already defined for customised nginx.conf. Host headers automatically filled if blank allowing haproxy to work with frameworks like django.