File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,6 @@ server {
29
29
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
30
30
fastcgi_param PATH_INFO $fastcgi_path_info;
31
31
fastcgi_param HTTPS $is_https;
32
+ fastcgi_hide_header X-Powered-By;
32
33
}
33
34
}
Original file line number Diff line number Diff line change 14
14
include /etc/nginx/mime.types;
15
15
default_type application/octet-stream;
16
16
17
+ server_tokens off ;
18
+
17
19
log_format main '$remote_addr - $remote_user [$time_local ] "$request " '
18
20
'$status $body_bytes_sent "$http_referer " '
19
21
'"$http_user_agent " "$http_x_forwarded_for "' ;
Original file line number Diff line number Diff line change @@ -56,3 +56,10 @@ opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}
56
56
opcache.max_wasted_percentage =${PHP_OPCACHE_MAX_WASTED_PERCENTAGE}
57
57
opcache.interned_strings_buffer =16
58
58
opcache.fast_shutdown =1
59
+
60
+ ; ;;;;;;;;;;;;;;;;
61
+ ; Miscellaneous ;
62
+ ; ;;;;;;;;;;;;;;;;
63
+
64
+ ; http://www.php.net/manual/en/ini.core.php#ini.expose-php
65
+ expose_php = Off
You can’t perform that action at this time.
0 commit comments