-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
"404" pages on stats.jenkins.io served with 200 OK
status code
#4291
Comments
Looks like this issue is a combination of 2 things:
|
This behavior seems to always have been the same even before the fix.
I'm not sure to follow, can you explain what you mean by "the merge of files following the migration"? |
Before adding the Adding the try_files added changed the default behavior to "Hey nginx, if you do not find a file (HTTP/404), please serve index.html instead (HTTP/200) and delegate routing to the client because it's a Javascript framework with its own client-side routing". However, now we've learnt that other files must be served, then it means the current
That was a written shortcut to describe the PR you sent where you "merge" a file tree from the GH branch |
the new routing is correcting the error code for the old path. so this call will reply with a 404: https://stats.jenkins.io/plugin-installation-trend/not-a-plugin.stats.json while all those will work with 200: |
Service(s)
stats.jenkins.io
Summary
Example: https://stats.jenkins.io/plugin-installation-trend/not-a-plugin.stats.json
Would it be possible to serve these with a
404 Not Found
status in the headers?Reproduction steps
The text was updated successfully, but these errors were encountered: