Browse Source

Added Server Tokens off in Nginx conf

Yoginth 7 năm trước cách đây
mục cha
commit
3b9cbc4e67
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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