-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 config for static files #4014
Comments
There is a typo in this reexpression, the backslashes needs to be added for this regex to be valid, instead of this:
|
@artjomsmorscakovs good catch! Would you like to open a pull request to fix the regexp in this page? |
jenkins-infra#4014 There is a typo in this reg expression, the backslashes need to be added for this regex to be valid, instead of this: '/static/' into this: '\/static\/' in both places
ok, done |
Even with the typo fixed, this will break many Jenkins pages since not all "static" resources can be found in the "exploded" directory. That was the whole point I wanted to address with this issue. (So it's actually a good thing the regex was broken before...) |
The nginx reverse proxy page contains this snippet:
But AFAIK this cannot work, since not all static artifacts are in that directory (for example, plugin artifacts). Should that be removed? Or is there another clever way to avoid hitting Jenkins for static artifacts?
Links
The text was updated successfully, but these errors were encountered: