change nginx::resource::location to nginx::location