Skip to content

Own hosted troubleshooting - various issues fixed - stuck on NGINX #272

@ITINVENTBE

Description

@ITINVENTBE

First of all, love the concept and congratz to the contribution.

I've been looking at the self-hosted version of your project and have been running into several issues.
One of them was the 404 error someone posted a little while back but I've been able to fix that.

So here's a little list of what I did, what my environment is and where I'm stuck. hope someone finds it usefull and can help.

I'm hosting the site on my own server and uploaded the source, installed nodejs20 & yarn and published using NGINX.
Did a yarn build and then yarn build.static and copied the /dist folder but this gave me all sorts of weird things.
First of all, all the JS files gave an error 404.
When I looked at the /dist folder, it seemed that the /build folder inside where the JS files are stored, did not build.
Digging a little into yarn, I did a yarn build.client and saw that this created a new /dist folder containing all the Js files and css files needed.
Copying this to the /dist folder where the the static build already was present, fixed the 404 issue and loaded the site correctly.

Here's where I'm stuck, the entire site loads, the checklists loads and are interactive, however, when I click the checklist, the site just reloads.
When I use hostname/checklist, I can see the checklists so they are rendered from the .yml file, which is correct behavior.
What I'm assuming, is that NGINX is unable to handle the slug and I have not yet been able to figure out how to tell NGINX that the slugs are not real files but rather the site generating this content.

Anyone has any Idea?

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