Fix nginx intergration