Closed macbre closed 2 years ago
Inspired by https://github.com/bunkerity/bunkerized-nginx
https://serverfault.com/a/1015876/448086
server_tokens "";
fails with: #26 1.388 nginx: [emerg] invalid value "" in /etc/nginx/nginx.conf:35
#26 1.388 nginx: [emerg] invalid value "" in /etc/nginx/nginx.conf:35
or
https://github.com/openresty/headers-more-nginx-module#more_clear_headers:
more_clear_headers 'server';
Installation instructions // more headers https://github.com/bunkerity/bunkerized-nginx/blob/master/helpers/install.sh#L491-L493
Installation instructions // more headers
https://github.com/bunkerity/bunkerized-nginx/blob/master/helpers/install.sh#L491-L493
And https://www.upguard.com/blog/10-tips-for-securing-your-nginx-deployment
https://serverfault.com/a/1015876/448086
fails with:
#26 1.388 nginx: [emerg] invalid value "" in /etc/nginx/nginx.conf:35
or
https://github.com/openresty/headers-more-nginx-module#more_clear_headers:
And https://www.upguard.com/blog/10-tips-for-securing-your-nginx-deployment