Angular 19 - 404 with Nixpacks
robbevw
HOBBYOP

a year ago

Does anyone know if copying the nixpacks.toml and Caddyfily for Angular 19 projects is still relevant? https://github.com/railwayapp-templates/angular-starter/blob/main/Caddyfile

I am currently experiencing a 404 after deploying an Angular 19 project with this for the first time.

There are no build errors. Just 404 logs on the "/" endpoint

Solved

6 Replies

robbevw
HOBBYOP

a year ago

f8f48f66-e1c7-4722-a0c3-4317f781ebf3


a year ago

yes it's still needed, you likely need to tweak the root directory in the Caddyfile


robbevw
HOBBYOP

a year ago

Yup, that was it. I needed to append /browser to the root

# serve from the set folder
root * {$ANGULAR_OUTPUT_PATH}/browser

robbevw
HOBBYOP

a year ago

Thank


a year ago

no problem!


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...