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

Bad nginx config for npm registry #73

Open
jukefr opened this issue Jun 7, 2023 · 0 comments
Open

Bad nginx config for npm registry #73

jukefr opened this issue Jun 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jukefr
Copy link

jukefr commented Jun 7, 2023

Describe the bug

Proxy pass nginx config is bad and makes viewing packages on web ui result in 404 (and maybe breaks other stuff elsewhere but idk)
See related issue here go-gitea/gitea#21407
And fix is this comment on the issue go-gitea/gitea#21407 (comment)

Context

n/a / all

Steps to reproduce

Upload package to npm registry on gitea
Try to open it in web ui, 404

Fix simply requires editing /etc/nginx/conf.d/{install_url}.d/gitea.conf
And removing the trailing slash on the proxy pass (as mentioned in the comment of the linked issue above)

Expected behavior

No 404

Logs

N/A

@jukefr jukefr mentioned this issue Jun 7, 2023
2 tasks
@Josue-T Josue-T added the bug Something isn't working label Nov 4, 2024
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