Skip to content

Commit

Permalink
turn off server tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
umjnega committed Oct 24, 2024
1 parent 6b27eea commit bfafebb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/profile/prometheus.pp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@
}
} else {
include nginx
class { 'nginx':
server_tokens: 'off',
}
nginx::resource::server { 'https-forwarder':
server_name => [$::fqdn],
listen_options => "proxy_protocol default_server",
Expand Down

0 comments on commit bfafebb

Please sign in to comment.