added public configuration

cleaned up path parameter in case of extra slash.
fixed ngix config - had missing semicolon