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

Nixpacks Bug Report #1202

Open
1 task done
akawahuynh opened this issue Oct 14, 2024 · 3 comments
Open
1 task done

Nixpacks Bug Report #1202

akawahuynh opened this issue Oct 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@akawahuynh
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

This happens when I use Astro Build static files and proxy with nginx and there is no 404 page and all 404 requests redirect to homepage

To reproduce

  1. build astro site
  2. deploy with nginx and build static site
  3. test path robots.txt/

Expected behavior

No response

Environment

ubuntu 24.04

@akawahuynh akawahuynh added the bug Something isn't working label Oct 14, 2024
@coffee-cup
Copy link
Contributor

What is the bug? Please add more information on what is happening and what you expect to happen.

@akawahuynh
Copy link
Author

nginx does not return a 404.html with a non-existent url but points to the home page with that path
for example: https://example.com/robots.txt/

@coffee-cup
Copy link
Contributor

That is expected behaviour currently. The 404 should be handled by the client. What would you expect in this case?

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
None yet
Development

No branches or pull requests

2 participants