nginx: some changes

This commit is contained in:
Wonderfall
2016-10-01 17:46:27 +02:00
parent 6cd004f742
commit 55f1ab625a
7 changed files with 10 additions and 8 deletions

View File

@ -14,6 +14,8 @@ http {
limit_req_zone $binary_remote_addr zone=allips:10m rate=150r/s;
limit_req zone=allips burst=150 nodelay;
more_set_headers 'Server: secret';
include /etc/nginx/conf/mime.types;
default_type application/octet-stream;
@ -37,7 +39,6 @@ http {
tcp_nopush on;
tcp_nodelay on;
server_tokens off;
more_set_headers 'Server: secret';
gzip on;
gzip_comp_level 5;