improve pdf gen
add custom nginx conf to perform url rewriting
f*ck nb spaces