fix security headers and sockets

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2023-10-10 19:33:30 +02:00
parent dec9dc990f
commit efcca74d67
11 changed files with 16 additions and 100 deletions

View File

@@ -23,7 +23,11 @@ http {
lua_package_path "/usr/local/nginx/lib/lua/?.lua;;";
server_tokens off;
hide_server_tokens on;
more_clear_headers "Server";
more_clear_headers "X-Powered-By";
more_clear_headers "X-Page-Speed";
more_clear_headers "X-Varnish";
aio threads;
sendfile on;
tcp_nopush on;