simplified nginx config to be more generic