-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
needs: more infoReporter must clarify the issueReporter must clarify the issue
Description
It would be a nice feature to automatically redirect clients from http://
to https://
if the application is being served with --ssl
.
It gets tricky to implement since the server only listens on one port and you can't serve http and https on the same port. What I do with other dev severs is listen on two ports such as 8080 and 8443 where if the dev goes to http 8080, it automatically redirects to https 8443. To support this, the --ssl
option could take a port instead of a boolean. This would not override the --port
option.
I'm OK with closing this as well with "devs need to be conditioned to use https" but I thought I'd open the discussion.
Metadata
Metadata
Assignees
Labels
needs: more infoReporter must clarify the issueReporter must clarify the issue