• monotux@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You missed replacing your domain in this post, so I could try your site. It looks like your rewrite works fine, but getting the 404 here as well.

    What happens when you run it locally? (hugo serve) Does it work?

    Also, run: ls /var/www/mydomain.com/public/ if possible and share the results here. It should contain folders matching your site setup.

      • brygphilomena@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        I think it’s the try file. It might be trying to find those subfolders as files and since they are directories and not files it’s failing. Or permissions. Could always be permissions.

        You can look at access logs and error logs. Those might provide more clues.