Skip to content

Commit

Permalink
hide nginx version (#13329)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic authored Aug 9, 2024
1 parent 14b429d commit d91c40c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions charts/altinn-loadbalancer/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ data:
events { worker_connections 1024; }
http {
server_tokens off;
proxy_buffer_size 128k;
proxy_buffers 8 256k;
Expand Down Expand Up @@ -88,14 +89,14 @@ data:
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /preview {
proxy_pass http://designer/preview;
proxy_set_header Host {{ $host }};
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /previewHub {
proxy_pass http://designer/previewHub;
proxy_http_version 1.1;
Expand All @@ -115,7 +116,7 @@ data:
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /Home/ {
proxy_pass http://designer/Home/;
proxy_set_header Host {{ $host }};
Expand Down

0 comments on commit d91c40c

Please sign in to comment.