Fix app name in non-SSL configurations
Add hook for plugins to add their own Nginx directives