diff --git a/app/SSH/Services/Webserver/scripts/nginx/php-vhost-ssl.conf b/app/SSH/Services/Webserver/scripts/nginx/php-vhost-ssl.conf index 7e0186d..480f381 100755 --- a/app/SSH/Services/Webserver/scripts/nginx/php-vhost-ssl.conf +++ b/app/SSH/Services/Webserver/scripts/nginx/php-vhost-ssl.conf @@ -27,6 +27,7 @@ server { fastcgi_pass unix:/var/run/php/php__php_version__-fpm.sock; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include fastcgi_params; + fastcgi_hide_header X-Powered-By; } location ~ /\.(?!well-known).* { diff --git a/app/SSH/Services/Webserver/scripts/nginx/php-vhost.conf b/app/SSH/Services/Webserver/scripts/nginx/php-vhost.conf index ab89621..5734f58 100755 --- a/app/SSH/Services/Webserver/scripts/nginx/php-vhost.conf +++ b/app/SSH/Services/Webserver/scripts/nginx/php-vhost.conf @@ -23,6 +23,7 @@ server { fastcgi_pass unix:/var/run/php/php__php_version__-fpm.sock; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include fastcgi_params; + fastcgi_hide_header X-Powered-By; } location ~ /\.(?!well-known).* { diff --git a/scripts/install.sh b/scripts/install.sh index f73d1e9..f900d07 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -134,6 +134,7 @@ server { fastcgi_pass unix:/var/run/php/php${V_PHP_VERSION}-fpm.sock; fastcgi_param SCRIPT_FILENAME \$realpath_root\$fastcgi_script_name; include fastcgi_params; + fastcgi_hide_header X-Powered-By; } location ~ /\.(?!well-known).* {