ubuntu specific nginx conf; add postgresql configs