server/headers/server

This commit is contained in:
Marc Beninca 2019-08-13 10:49:06 +02:00
parent 74d263390d
commit db84b87995

View file

@ -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/*;