Skip to content

Commit

Permalink
fix: 🐛 bug which allows host header injection vuln (#103)
Browse files Browse the repository at this point in the history
* fix: 🐛 bug which allows host header injection vuln

* fix: 🐛 debian logrotate debconf warnings
  • Loading branch information
jaskaransarkaria authored Nov 1, 2024
1 parent fd5cbd3 commit 0067542
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,12 @@ controller:
- name: logrotate
securityContext:
runAsGroup: 82
image: debian:bookworm-slim
image: debian:bookworm-20241016-slim
command:
- sh
- -c
- |
export DEBIAN_FRONTEND=noninteractive
apt update
apt install logrotate -y
groupadd -g 82 82
Expand Down Expand Up @@ -190,7 +191,7 @@ controller:
%{ endif ~}
server-snippet: |
if ($scheme != 'https') {
return 308 https://$host$request_uri;
return 308 https://$server_name$request_uri;
}

#
Expand Down

0 comments on commit 0067542

Please sign in to comment.