Skip to content

Commit

Permalink
fix(publick8s/mirrors.updates.jio) also serve ICO files (#5835)
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal authored Oct 24, 2024
1 parent cca08b9 commit 1e96150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/updates.jenkins.io-content-secured.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ingress:
- host: mirrors.updates.jenkins.io
paths:
# Only send request to files with these extensions to mirrorbits
- path: /.*([.](html|json|txt)|TIME)$ # Requires the regexp engine of Nginx to be enabled
- path: /.*([.](html|json|txt|ico)|TIME)$ # Requires the regexp engine of Nginx to be enabled
pathType: ImplementationSpecific
tls:
- secretName: updates-jenkins-io-mirrorbits-tls
Expand Down
2 changes: 1 addition & 1 deletion config/updates.jenkins.io-content-unsecured.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ingress:
- host: mirrors.updates.jenkins.io
paths:
# Only send request to files with these extensions to mirrorbits
- path: /internal_http/(.*)([.](html|json|txt)|TIME)$ # Requires the regexp engine of Nginx to be enabled
- path: /internal_http/(.*)([.](html|json|txt|ico)|TIME)$ # Requires the regexp engine of Nginx to be enabled
pathType: ImplementationSpecific
additionalIngresses:
- className: public-nginx
Expand Down

0 comments on commit 1e96150

Please sign in to comment.