Skip to content

Enabling HTTP to HTTPS redirects #598

@codepleb

Description

@codepleb

If the issue is a feature request, what is the motivation / use case for it?

Having one command to serve a fully fledged SPA.

Other information (related issues, suggestions for a fix, etc):
Being able to use two ports and http-redirect from one to another would be a big help.

Example: npx http-server -S -K ... -C .... -p 80,443 --https-redirect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions