Tests and code for default nginx conf setup