add geo and map mappings
Made config dir available as a parameter.
Replace hardcoded paths referring to '/etc/nginx' with config variable instead.
Add pre conditions to spec file.
use nx_conf_dir for nginx configuration path
Merge pull request #338 from janorn/config_dir

Add nginx config dir as a parameter
Merge pull request #337 from rabbitt/master

add ability to define geo and map mappings