Selaa lähdekoodia

Added Server Tokens off in Nginx conf

Yoginth 7 vuotta sitten
vanhempi
commit
3b9cbc4e67
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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