Refactored. Added reload handler for nginx. Moved SSL cert and key to the base env_vars file.