Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx conf returns 404 on non-root paths #44

Closed
applejag opened this issue Jul 8, 2021 · 0 comments · Fixed by #80
Closed

Nginx conf returns 404 on non-root paths #44

applejag opened this issue Jul 8, 2021 · 0 comments · Fixed by #80
Assignees
Labels
bug Something isn't working
Projects

Comments

@applejag
Copy link
Contributor

applejag commented Jul 8, 2021

The built nginx image is misconfigured so it returns status code 404, even though it still returns the index.html body, on any non-root endpoints (ex: /project/1).

Seems to be that it's looking for the file /usr/share/nginx/html/project/1, so we need to add some routing in the nginx config to always return the index.html and let Angular deal with the 404 routing

@applejag applejag added the bug Something isn't working label Jul 8, 2021
@applejag applejag added this to To do in Backlog via automation Jul 8, 2021
@applejag applejag self-assigned this Nov 1, 2021
Backlog automation moved this from To do to Done Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant