server/headers/server
This commit is contained in:
parent
74d263390d
commit
db84b87995
1 changed files with 7 additions and 1 deletions
|
@ -182,7 +182,7 @@ Prepare a grub.cfg
|
||||||
* net.ipv4.ip_forward=1
|
* net.ipv4.ip_forward=1
|
||||||
* net.ipv6.conf.all.forwarding=1
|
* net.ipv6.conf.all.forwarding=1
|
||||||
* nftables
|
* nftables
|
||||||
* nginx
|
* nginx-extras
|
||||||
* root/user authorized_keys
|
* root/user authorized_keys
|
||||||
* curl
|
* curl
|
||||||
* swap,swappiness
|
* swap,swappiness
|
||||||
|
@ -316,6 +316,8 @@ Configuration
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
load_module modules/ngx_http_headers_more_filter_module.so;
|
||||||
|
|
||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
user user;
|
user user;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
|
@ -376,6 +378,10 @@ Configuration
|
||||||
proxy_pass_request_headers on;
|
proxy_pass_request_headers on;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
||||||
|
# Headers
|
||||||
|
|
||||||
|
more_clear_headers Server;
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
|
|
||||||
include sites-enabled/*;
|
include sites-enabled/*;
|
||||||
|
|
Loading…
Reference in a new issue