fix hook repo partitioning
add full nginx configuration