Vote count:
0
I would like to know the correct way of enforcing SSL for all calls to my nancy API
My current implmentation is:
C#
public abstract class NancyHttpsModule : NancyModule
{
public NancyHttpsModule(string baseUrl) : base(baseUrl)
{
this.RequiresHttps();
}
}
This seems to work with 403 Forbidden on the Non-SSL port.
Is there a better way to do this? (Not using IIS redirects)
asked 2 mins ago
NancyFx SSL for all modules
Aucun commentaire:
Enregistrer un commentaire