mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
disable nginx version output
Add `server_tokens off;` to not display nginx version in HTTP headers output. server_tokens on: server: nginx/1.23.3 server_tokens on: server: nginx
This commit is contained in:
committed by
GitHub
parent
ad3ffc227d
commit
56e451ea8b
@@ -1,7 +1,9 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
|
||||
|
||||
server_tokens off;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
root /var/www/app/public/;
|
||||
|
||||
Reference in New Issue
Block a user