install libcurl4-openssl-dev instead libcurl4-gnutls-dev
hack nginx default site enable priority then others