浏览代码

Added Server Tokens off in Nginx conf

Yoginth 7 年之前
父节点
当前提交
3b9cbc4e67
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      script/conf/gitote

+ 2 - 1
script/conf/gitote

@@ -1,7 +1,8 @@
 server {
     listen 80;
     listen 443 ssl http2;
-
+    
+    server_tokens off;
     server_name 127.0.0.1;
 
     proxy_set_header X-Real-IP  $remote_addr; # pass on real client IP