Skip to content

What should I do to start my server in production environment? #24

@sojharo

Description

@sojharo

When I build my project, inside dist/server/app.js I can see the following line:

process.env.NODE_ENV = process.env.NODE_ENV || 'development';

What should I do to start my server in production environment when I try running from this directory? Also, I want my project to listen on both ports 3000 and 8443, if request comes on 3000 I redirect it to 8443.

Please help with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions