From db84b879950741ca1cc2742e49b27995c10593ba Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 13 Aug 2019 10:49:06 +0200 Subject: [PATCH] server/headers/server --- in/personal/server/index.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/in/personal/server/index.rst b/in/personal/server/index.rst index e11120f..f21ccd8 100644 --- a/in/personal/server/index.rst +++ b/in/personal/server/index.rst @@ -182,7 +182,7 @@ Prepare a grub.cfg * net.ipv4.ip_forward=1 * net.ipv6.conf.all.forwarding=1 * nftables -* nginx +* nginx-extras * root/user authorized_keys * curl * swap,swappiness @@ -316,6 +316,8 @@ Configuration :: + load_module modules/ngx_http_headers_more_filter_module.so; + pid /run/nginx.pid; user user; worker_processes auto; @@ -376,6 +378,10 @@ Configuration proxy_pass_request_headers on; proxy_redirect off; + # Headers + + more_clear_headers Server; + # Includes include sites-enabled/*;