I tried to start a nancyfx webserver in self hosting mode. Everything works fine when executing the following code:
public static void Main(string[] args) {
maybe you missed SSL cert config and url acl config.
Check this post : https://coderead.wordpress.com/2014/08/07/enabling-ssl-for-self-hosted-nancy/