mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 08:35:05 +02:00
Added EXPOSE_WEB_SERVER_INFO variable to control web server / php versions expose
This commit is contained in:
@ -65,7 +65,7 @@ http {
|
||||
ignore_invalid_headers on;
|
||||
|
||||
index index.php;
|
||||
server_tokens off;
|
||||
server_tokens {EXPOSE_WEB_SERVER_INFO};
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
[zabbix]
|
||||
|
||||
; https://www.php.net/manual/en/security.hiding.php
|
||||
php_value[expose_php] = ${EXPOSE_WEB_SERVER_INFO}
|
||||
|
||||
listen = /tmp/php-fpm.sock
|
||||
|
||||
clear_env = no
|
||||
|
Reference in New Issue
Block a user