Skip to content

Getting default nginx index.html at localhost #2

@dioptrique

Description

@dioptrique

I followed the instructions provided in the documentation. Initially, I ran into some issues with the npm install in the backend folder. I solved that by changing the bcrypt dependency version to "*". I managed to run the backend.

However I am unsure about how to edit the root directive in the http block in nginx.conf. Should I put the path to the build directory in my frontend in the root directive? When I do this, and run the backend and frontend, I am still getting the default nginx index.html page instead of the frontend at localhost. Are there any other changes I should make to the nginx.conf file? I am an Ubuntu user.

Thank you.

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