scottcorgan / pushstate-server

Static file server that works with HTML5 Pushstate.
421 stars 35 forks source link

Add ability to launch server trough HTTPS #77

Open prudho opened 6 years ago

prudho commented 6 years ago

With -s -k path/to/server.key -c path/to/server.crt the pushstate server will listen trough an encrypted connexion, drastically increasing security.

The user must provide his own SSL certificate and key.

New dependencies are only https and fs, which is required for reading on-disk files.