Using capistrano 3.2.1 the old #{varname} syntax no longer worked, switched to using capistrano's fetch(...) in example file.
Swopped capistrano default methods into regular "#{method_name} type calls. Using fetch to retrieve variables previously set using set.
Merge branch 'master' of github.com:platanus/capistrano3-nginx into usingfetch
Merge pull request #9 from jjabba/usingfetch

Change to fetch when using some variables in the readme
Added ability to optionally skip using sudo based on list of other setting :keys.
Refactored sudo control into task-level, and path-level. Both options be used and mixed as the user pleases.
updated example settings to match a change in the previous push that would clearly show if a setting is a path or a directory or something else by adding the type of setting to the symbol name.
Fixed bug in nginx:configtest task sudo check.